Skip to content

Commit 08976d9

Browse files
authored
Update eslint.config.mjs (#257)
1 parent cd7f122 commit 08976d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eslint.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { FlatCompat } from '@eslint/eslintrc';
88
import eslintConfigPrettier from 'eslint-config-prettier/flat';
99
import oxlint from 'eslint-plugin-oxlint';
1010
// import pluginQuery from '@tanstack/eslint-plugin-query';
11+
import { defineConfig } from 'eslint/config';
1112

1213
const __filename = fileURLToPath(import.meta.url);
1314
const __dirname = dirname(__filename);
@@ -16,7 +17,7 @@ const compat = new FlatCompat({
1617
baseDirectory: __dirname,
1718
});
1819

19-
const eslintConfig = ts.config(
20+
const eslintConfig = defineConfig(
2021
js.configs.recommended,
2122
...compat.extends(
2223
'next/core-web-vitals' /*, 'next/typescript'*/ /*added by ts below*/,

0 commit comments

Comments
 (0)