Skip to content

Commit 4396c0c

Browse files
authored
Update eslint.config.mjs (#259)
1 parent 08976d9 commit 4396c0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eslint.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const compat = new FlatCompat({
1717
baseDirectory: __dirname,
1818
});
1919

20-
const eslintConfig = defineConfig(
20+
const eslintConfig = defineConfig([
2121
js.configs.recommended,
2222
...compat.extends(
2323
'next/core-web-vitals' /*, 'next/typescript'*/ /*added by ts below*/,
@@ -84,6 +84,6 @@ const eslintConfig = defineConfig(
8484
},
8585
},
8686
...oxlint.buildFromOxlintConfigFile('./.oxlintrc.json'), // oxlint should be the last one
87-
);
87+
]);
8888

8989
export default eslintConfig;

0 commit comments

Comments
 (0)