11{
2- "env" :{
3- "browser" :true ,
4- "es2021" :true
5- },
6- "extends" :[
7- " plugin:react/recommended" ,
8- " airbnb" ,
9- " plugin:@typescript-eslint/recommended" ,
10- " prettier" ,
11- " plugin:prettier/recommended"
12-
13- ],
14- "parser" :" @typescript-eslint/parser" ,
15- "parserOptions" :{
16- "ecmaFeatures" :{
17- "jsx" :true
18- },
19- "ecmaVersion" :12 ,
20- "sourceType" :" module"
21- },
22- "plugins" :[
23- " react" ,
24- " @typescript-eslint" ,
25- " react-hooks"
26- ],
27- "rules" :{
28- "react/require-default-props" :" off" ,
29- "react/react-in-jsx-scope" :" off" ,
30- "no-use-before-define" : [" error" ],
31- "@typescript-eslint/no-use-before-define" :[
32- " error"
33- ],
34- "import/no-extraneous-dependencies" : [" error" , {"devDependencies" : true }],
35-
36- "react/jsx-filename-extension" :[
37- " warn" ,
38- {
39- "extensions" :[
40- " .tsx"
41- ]
42- }
43- ],
44- "import/extensions" :[
45- " error" ,
46- " ignorePackages" ,
47- {
48- "ts" :" never" ,
49- "tsx" :" never"
50- }
51- ],
52-
53- "@typescript-eslint/explicit-function-return-type" :" off" ,
54- "react-hooks/rules-of-hooks" :" error" ,
55- "react-hooks/exhaustive-deps" :" warn" ,
56- "import/prefer-default-export" :" off" ,
57- "react/prop-types" :" off" ,
58- "react/no-unknown-property" : [" error" , { "ignore" : [" css" ] }]
59-
60-
61-
62-
63- },
64- "settings" :{
65- "import/resolver" :{
66- "typescript" :{
67-
68- }
69- }
70- },
71- "overrides" : [
2+ "env" : {
3+ "browser" : true ,
4+ "es2021" : true
5+ },
6+ "extends" : [
7+ " plugin:react/recommended" ,
8+ " airbnb" ,
9+ " plugin:@typescript-eslint/recommended" ,
10+ " prettier" ,
11+ " plugin:prettier/recommended"
12+ ],
13+ "parser" : " @typescript-eslint/parser" ,
14+ "parserOptions" : {
15+ "ecmaFeatures" : {
16+ "jsx" : true
17+ },
18+ "ecmaVersion" : 12 ,
19+ "sourceType" : " module"
20+ },
21+ "plugins" : [
22+ " react" ,
23+ " @typescript-eslint" ,
24+ " react-hooks"
25+ ],
26+ "rules" : {
27+ "import/no-unresolved" : " off" ,
28+ "react/require-default-props" : " off" ,
29+ "react/react-in-jsx-scope" : " off" ,
30+ "no-use-before-define" : [
31+ " error"
32+ ],
33+ "@typescript-eslint/no-use-before-define" : [
34+ " error"
35+ ],
36+ "import/no-extraneous-dependencies" : [
37+ " error" ,
38+ {
39+ "devDependencies" : true
40+ }
41+ ],
42+ "react/jsx-filename-extension" : [
43+ " warn" ,
44+ {
45+ "extensions" : [
46+ " .tsx"
47+ ]
48+ }
49+ ],
50+ "import/extensions" : [
51+ " error" ,
52+ " ignorePackages" ,
53+ {
54+ "" : " never" ,
55+ "js" : " never" ,
56+ "jsx" : " never" ,
57+ "ts" : " never" ,
58+ "tsx" : " never"
59+ }
60+ ],
61+ "@typescript-eslint/explicit-function-return-type" : " off" ,
62+ "react-hooks/rules-of-hooks" : " error" ,
63+ "react-hooks/exhaustive-deps" : " warn" ,
64+ "import/prefer-default-export" : " off" ,
65+ "react/prop-types" : " off" ,
66+ "react/no-unknown-property" : [
67+ " error" ,
68+ {
69+ "ignore" : [
70+ " css"
71+ ]
72+ }
73+ ]
74+ },
75+ "settings" : {
76+ "import/resolve" : {
77+ "typescript" : {},
78+ "paths" : [
79+ " src/"
80+ ]
81+ }
82+ },
83+ "overrides" : [
7284 {
73- "files" :[" src/*.json" ],
74- "rules" :{
85+ "files" : [
86+ " src/*.json"
87+ ],
88+ "rules" : {
7589 "no-unused-expressions" : " off"
7690 }
77-
7891 }
79- ]
80- }
92+ ]
93+ }
0 commit comments