We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd7f122 commit 08976d9Copy full SHA for 08976d9
eslint.config.mjs
@@ -8,6 +8,7 @@ import { FlatCompat } from '@eslint/eslintrc';
8
import eslintConfigPrettier from 'eslint-config-prettier/flat';
9
import oxlint from 'eslint-plugin-oxlint';
10
// import pluginQuery from '@tanstack/eslint-plugin-query';
11
+import { defineConfig } from 'eslint/config';
12
13
const __filename = fileURLToPath(import.meta.url);
14
const __dirname = dirname(__filename);
@@ -16,7 +17,7 @@ const compat = new FlatCompat({
16
17
baseDirectory: __dirname,
18
});
19
-const eslintConfig = ts.config(
20
+const eslintConfig = defineConfig(
21
js.configs.recommended,
22
...compat.extends(
23
'next/core-web-vitals' /*, 'next/typescript'*/ /*added by ts below*/,
0 commit comments