@@ -2,21 +2,21 @@ module.exports = {
2
2
root : true ,
3
3
env : { browser : true , es2020 : true } ,
4
4
extends : [
5
- ' eslint:recommended' ,
6
- ' plugin:react/recommended' ,
7
- ' plugin:react/jsx-runtime' ,
8
- ' plugin:react-hooks/recommended' ,
5
+ " eslint:recommended" ,
6
+ " plugin:react/recommended" ,
7
+ " plugin:react/jsx-runtime" ,
8
+ " plugin:react-hooks/recommended" ,
9
9
] ,
10
- ignorePatterns : [ ' dist' , ' .eslintrc.cjs' ] ,
11
- parserOptions : { ecmaVersion : ' latest' , sourceType : ' module' } ,
12
- settings : { react : { version : ' 18.2' } } ,
13
- plugins : [ ' eslint-plugin-react-compiler' , ' react-refresh' ] ,
10
+ ignorePatterns : [ " dist" , " .eslintrc.cjs" ] ,
11
+ parserOptions : { ecmaVersion : " latest" , sourceType : " module" } ,
12
+ settings : { react : { version : " 18.2" } } ,
13
+ plugins : [ " eslint-plugin-react-compiler" , " react-refresh" ] ,
14
14
rules : {
15
- ' react-compiler/react-compiler' : "error" ,
16
- ' react/jsx-no-target-blank' : ' off' ,
17
- ' react-refresh/only-export-components' : [
18
- ' warn' ,
15
+ " react-compiler/react-compiler" : "error" ,
16
+ " react/jsx-no-target-blank" : " off" ,
17
+ " react-refresh/only-export-components" : [
18
+ " warn" ,
19
19
{ allowConstantExport : true } ,
20
20
] ,
21
21
} ,
22
- }
22
+ } ;
0 commit comments