File tree 3 files changed +28
-6
lines changed
packages/eslint-config/src
3 files changed +28
-6
lines changed Original file line number Diff line number Diff line change 4
4
"no-fallthrough" : " error" ,
5
5
"no-constant-condition" : " error" ,
6
6
"object-shorthand" : " error" ,
7
- "@typescript-eslint/no-unused-vars" : " error" ,
7
+ "@typescript-eslint/no-unused-vars" : [
8
+ " error" ,
9
+ {
10
+ "argsIgnorePattern" : " ^_"
11
+ }
12
+ ],
8
13
"@typescript-eslint/consistent-type-imports" : [
9
14
" error" ,
10
15
{
38
43
]
39
44
}
40
45
],
41
- "react/prop-types" : " warn" ,
42
46
"react/require-render-return" : 2 ,
43
47
"react/self-closing-comp" : " error" ,
48
+ "react/jsx-boolean-value" : [
49
+ " error" ,
50
+ " never"
51
+ ],
44
52
"react-hooks/rules-of-hooks" : " error" ,
45
53
"react-hooks/exhaustive-deps" : " error" ,
46
54
"react-compiler/react-compiler" : " warn" ,
Original file line number Diff line number Diff line change 4
4
"no-fallthrough" : " error" ,
5
5
"no-constant-condition" : " error" ,
6
6
"object-shorthand" : " error" ,
7
- "@typescript-eslint/no-unused-vars" : " error" ,
7
+ "@typescript-eslint/no-unused-vars" : [
8
+ " error" ,
9
+ {
10
+ "argsIgnorePattern" : " ^_"
11
+ }
12
+ ],
8
13
"@typescript-eslint/consistent-type-imports" : [
9
14
" error" ,
10
15
{
38
43
]
39
44
}
40
45
],
41
- "react/prop-types" : " warn" ,
42
46
"react/require-render-return" : 2 ,
43
47
"react/self-closing-comp" : " error" ,
48
+ "react/jsx-boolean-value" : [
49
+ " error" ,
50
+ " never"
51
+ ],
44
52
"react-hooks/rules-of-hooks" : " error" ,
45
53
"react-hooks/exhaustive-deps" : " error" ,
46
54
"react-compiler/react-compiler" : " warn" ,
Original file line number Diff line number Diff line change @@ -85,7 +85,12 @@ export const typescript = () => [
85
85
86
86
rules : {
87
87
'no-unused-vars' : 'off' ,
88
- '@typescript-eslint/no-unused-vars' : 'error' ,
88
+ '@typescript-eslint/no-unused-vars' : [
89
+ 'error' ,
90
+ {
91
+ argsIgnorePattern : '^_' ,
92
+ } ,
93
+ ] ,
89
94
"@typescript-eslint/consistent-type-imports" : [
90
95
"error" ,
91
96
{
@@ -122,7 +127,8 @@ export const react = () => [
122
127
"react/self-closing-comp" : "error" ,
123
128
"react/react-in-jsx-scope" : "off" ,
124
129
"react/jsx-no-target-blank" : "off" ,
125
- "react/prop-types" : "warn" ,
130
+ 'react/prop-types' : 'off' ,
131
+ "react/jsx-boolean-value" : [ "error" , "never" ] ,
126
132
"react/display-name" : "warn" ,
127
133
"react/no-unknown-property" : [
128
134
"error" ,
You can’t perform that action at this time.
0 commit comments