We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9ec6e1 commit fb7a12fCopy full SHA for fb7a12f
1 file changed
eslint.config.mjs
@@ -1,8 +1,8 @@
1
-import tseslint from 'typescript-eslint';
+import { defineConfig } from 'eslint/config';
2
import pooolint from '@poool/eslint-config-react';
3
import globals from 'globals';
4
5
-export default tseslint.config(
+export default defineConfig(
6
{ ignores: [
7
'dist',
8
'**/dist',
@@ -22,6 +22,11 @@ export default tseslint.config(
22
tsconfigRootDir: import.meta.dirname,
23
},
24
25
+ settings: {
26
+ react: {
27
+ version: 'detect',
28
+ },
29
30
31
...pooolint.configs.recommended,
32
);
0 commit comments