|
24 | 24 | "recommended": false,
|
25 | 25 | "a11y": {
|
26 | 26 | "noAccessKey": "warn",
|
| 27 | + "noAriaHiddenOnFocusable": "warn", |
27 | 28 | "noAriaUnsupportedElements": "warn",
|
28 | 29 | "noAutofocus": "off",
|
29 | 30 | "noBlankTarget": "warn",
|
|
49 | 50 | "useMediaCaption": "off",
|
50 | 51 | "useValidAnchor": "off",
|
51 | 52 | "useValidAriaProps": "warn",
|
| 53 | + "useValidAriaRole": "warn", |
52 | 54 | "useValidAriaValues": "warn",
|
53 | 55 | "useValidLang": "warn"
|
54 | 56 | },
|
55 | 57 | "complexity": {
|
56 | 58 | "noBannedTypes": "warn",
|
57 | 59 | "noExcessiveCognitiveComplexity": "off",
|
58 | 60 | "noExtraBooleanCast": "warn",
|
59 |
| - "noForEach": "off", |
| 61 | + "noForEach": "warn", |
60 | 62 | "noMultipleSpacesInRegularExpressionLiterals": "warn",
|
61 | 63 | "noStaticOnlyClass": "warn",
|
62 | 64 | "noThisInStatic": "warn",
|
|
75 | 77 | "useFlatMap": "warn",
|
76 | 78 | "useLiteralKeys": "warn",
|
77 | 79 | "useOptionalChain": "warn",
|
| 80 | + "useRegexLiterals": "warn", |
78 | 81 | "useSimpleNumberKeys": "warn",
|
79 | 82 | "useSimplifiedLogicExpression": "off"
|
80 | 83 | },
|
|
107 | 110 | "noUnusedVariables": "warn",
|
108 | 111 | "noVoidElementsWithChildren": "warn",
|
109 | 112 | "noVoidTypeReturn": "warn",
|
110 |
| - "useExhaustiveDependencies": "off", |
111 |
| - "useHookAtTopLevel": "off", |
| 113 | + "useExhaustiveDependencies": "warn", |
| 114 | + "useHookAtTopLevel": "warn", |
112 | 115 | "useIsNan": "warn",
|
113 | 116 | "useValidForDirection": "warn",
|
114 | 117 | "useYield": "warn"
|
|
124 | 127 | "style": {
|
125 | 128 | "noArguments": "warn",
|
126 | 129 | "noCommaOperator": "warn",
|
| 130 | + "noDefaultExport": "off", |
127 | 131 | "noImplicitBoolean": "off",
|
128 | 132 | "noInferrableTypes": "warn",
|
129 | 133 | "noNamespace": "warn",
|
|
134 | 138 | "noRestrictedGlobals": "warn",
|
135 | 139 | "noShoutyConstants": "warn",
|
136 | 140 | "noUnusedTemplateLiteral": "warn",
|
137 |
| - "noUselessElse": "off", |
| 141 | + "noUselessElse": "warn", |
138 | 142 | "noVar": "warn",
|
139 | 143 | "useAsConstAssertion": "warn",
|
140 | 144 | "useBlockStatements": "off",
|
|
183 | 187 | "noFunctionAssign": "warn",
|
184 | 188 | "noGlobalIsFinite": "warn",
|
185 | 189 | "noGlobalIsNan": "warn",
|
| 190 | + "noImplicitAnyLet": "off", |
186 | 191 | "noImportAssign": "warn",
|
187 | 192 | "noLabelVar": "warn",
|
188 | 193 | "noMisleadingInstantiator": "warn",
|
|
205 | 210 | },
|
206 | 211 | "organizeImports": {
|
207 | 212 | "enabled": false
|
208 |
| - } |
| 213 | + }, |
| 214 | + "overrides": [ |
| 215 | + { |
| 216 | + "include": ["**/*.js"], |
| 217 | + "linter": { |
| 218 | + "rules": { |
| 219 | + "suspicious": { |
| 220 | + "noConsoleLog": "off" |
| 221 | + } |
| 222 | + } |
| 223 | + } |
| 224 | + } |
| 225 | + ] |
209 | 226 | }
|
0 commit comments