@adamhl8/configs 0.15.2 → 0.15.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/biome.base.json +333 -333
- package/package.json +1 -1
package/dist/biome.base.json
CHANGED
|
@@ -53,384 +53,384 @@
|
|
|
53
53
|
"linter": {
|
|
54
54
|
"rules": {
|
|
55
55
|
"a11y": {
|
|
56
|
-
"noAccessKey": "
|
|
57
|
-
"noAriaHiddenOnFocusable": "
|
|
58
|
-
"noAriaUnsupportedElements": "
|
|
59
|
-
"noAutofocus": "
|
|
60
|
-
"noDistractingElements": "
|
|
61
|
-
"noHeaderScope": "
|
|
62
|
-
"noInteractiveElementToNoninteractiveRole": "
|
|
63
|
-
"noLabelWithoutControl": "
|
|
64
|
-
"noNoninteractiveElementInteractions": "
|
|
65
|
-
"noNoninteractiveElementToInteractiveRole": "
|
|
66
|
-
"noNoninteractiveTabindex": "
|
|
67
|
-
"noPositiveTabindex": "
|
|
68
|
-
"noRedundantAlt": "
|
|
69
|
-
"noRedundantRoles": "
|
|
70
|
-
"noStaticElementInteractions": "
|
|
71
|
-
"noSvgWithoutTitle": "
|
|
72
|
-
"useAltText": "
|
|
73
|
-
"useAnchorContent": "
|
|
74
|
-
"useAriaActivedescendantWithTabindex": "
|
|
75
|
-
"useAriaPropsForRole": "
|
|
76
|
-
"useAriaPropsSupportedByRole": "
|
|
77
|
-
"useButtonType": "
|
|
78
|
-
"useFocusableInteractive": "
|
|
79
|
-
"useGenericFontNames": "
|
|
80
|
-
"useHeadingContent": "
|
|
81
|
-
"useHtmlLang": "
|
|
82
|
-
"useIframeTitle": "
|
|
83
|
-
"useKeyWithClickEvents": "
|
|
84
|
-
"useKeyWithMouseEvents": "
|
|
85
|
-
"useMediaCaption": "
|
|
86
|
-
"useSemanticElements": "
|
|
87
|
-
"useValidAnchor": "
|
|
88
|
-
"useValidAriaProps": "
|
|
89
|
-
"useValidAriaRole": "
|
|
90
|
-
"useValidAriaValues": "
|
|
91
|
-
"useValidAutocomplete": "
|
|
92
|
-
"useValidLang": "
|
|
56
|
+
"noAccessKey": "error",
|
|
57
|
+
"noAriaHiddenOnFocusable": "error",
|
|
58
|
+
"noAriaUnsupportedElements": "error",
|
|
59
|
+
"noAutofocus": "error",
|
|
60
|
+
"noDistractingElements": "error",
|
|
61
|
+
"noHeaderScope": "error",
|
|
62
|
+
"noInteractiveElementToNoninteractiveRole": "error",
|
|
63
|
+
"noLabelWithoutControl": "error",
|
|
64
|
+
"noNoninteractiveElementInteractions": "error",
|
|
65
|
+
"noNoninteractiveElementToInteractiveRole": "error",
|
|
66
|
+
"noNoninteractiveTabindex": "error",
|
|
67
|
+
"noPositiveTabindex": "error",
|
|
68
|
+
"noRedundantAlt": "error",
|
|
69
|
+
"noRedundantRoles": "error",
|
|
70
|
+
"noStaticElementInteractions": "error",
|
|
71
|
+
"noSvgWithoutTitle": "error",
|
|
72
|
+
"useAltText": "error",
|
|
73
|
+
"useAnchorContent": "error",
|
|
74
|
+
"useAriaActivedescendantWithTabindex": "error",
|
|
75
|
+
"useAriaPropsForRole": "error",
|
|
76
|
+
"useAriaPropsSupportedByRole": "error",
|
|
77
|
+
"useButtonType": "error",
|
|
78
|
+
"useFocusableInteractive": "error",
|
|
79
|
+
"useGenericFontNames": "error",
|
|
80
|
+
"useHeadingContent": "error",
|
|
81
|
+
"useHtmlLang": "error",
|
|
82
|
+
"useIframeTitle": "error",
|
|
83
|
+
"useKeyWithClickEvents": "error",
|
|
84
|
+
"useKeyWithMouseEvents": "error",
|
|
85
|
+
"useMediaCaption": "error",
|
|
86
|
+
"useSemanticElements": "error",
|
|
87
|
+
"useValidAnchor": "error",
|
|
88
|
+
"useValidAriaProps": "error",
|
|
89
|
+
"useValidAriaRole": "error",
|
|
90
|
+
"useValidAriaValues": "error",
|
|
91
|
+
"useValidAutocomplete": "error",
|
|
92
|
+
"useValidLang": "error"
|
|
93
93
|
},
|
|
94
94
|
"complexity": {
|
|
95
|
-
"noAdjacentSpacesInRegex": "
|
|
96
|
-
"noArguments": "
|
|
97
|
-
"noBannedTypes": "
|
|
98
|
-
"noCommaOperator": "
|
|
99
|
-
"noEmptyTypeParameters": "
|
|
95
|
+
"noAdjacentSpacesInRegex": "error",
|
|
96
|
+
"noArguments": "error",
|
|
97
|
+
"noBannedTypes": "error",
|
|
98
|
+
"noCommaOperator": "error",
|
|
99
|
+
"noEmptyTypeParameters": "error",
|
|
100
100
|
"noExcessiveCognitiveComplexity": "off",
|
|
101
101
|
"noExcessiveLinesPerFunction": "off",
|
|
102
|
-
"noExcessiveNestedTestSuites": "
|
|
103
|
-
"noExtraBooleanCast": "
|
|
104
|
-
"noFlatMapIdentity": "
|
|
105
|
-
"noForEach": "
|
|
106
|
-
"noImplicitCoercions": "
|
|
107
|
-
"noImportantStyles": "
|
|
108
|
-
"noStaticOnlyClass": "
|
|
109
|
-
"noThisInStatic": "
|
|
110
|
-
"noUselessCatch": "
|
|
111
|
-
"noUselessConstructor": "
|
|
112
|
-
"noUselessContinue": "
|
|
113
|
-
"noUselessEmptyExport": "
|
|
114
|
-
"noUselessEscapeInRegex": "
|
|
115
|
-
"noUselessFragments": "
|
|
116
|
-
"noUselessLabel": "
|
|
117
|
-
"noUselessLoneBlockStatements": "
|
|
118
|
-
"noUselessRename": "
|
|
119
|
-
"noUselessStringConcat": "
|
|
120
|
-
"noUselessStringRaw": "
|
|
121
|
-
"noUselessSwitchCase": "
|
|
122
|
-
"noUselessTernary": "
|
|
123
|
-
"noUselessThisAlias": "
|
|
124
|
-
"noUselessTypeConstraint": "
|
|
125
|
-
"noUselessUndefinedInitialization": "
|
|
102
|
+
"noExcessiveNestedTestSuites": "error",
|
|
103
|
+
"noExtraBooleanCast": "error",
|
|
104
|
+
"noFlatMapIdentity": "error",
|
|
105
|
+
"noForEach": "error",
|
|
106
|
+
"noImplicitCoercions": "error",
|
|
107
|
+
"noImportantStyles": "error",
|
|
108
|
+
"noStaticOnlyClass": "error",
|
|
109
|
+
"noThisInStatic": "error",
|
|
110
|
+
"noUselessCatch": "error",
|
|
111
|
+
"noUselessConstructor": "error",
|
|
112
|
+
"noUselessContinue": "error",
|
|
113
|
+
"noUselessEmptyExport": "error",
|
|
114
|
+
"noUselessEscapeInRegex": "error",
|
|
115
|
+
"noUselessFragments": "error",
|
|
116
|
+
"noUselessLabel": "error",
|
|
117
|
+
"noUselessLoneBlockStatements": "error",
|
|
118
|
+
"noUselessRename": "error",
|
|
119
|
+
"noUselessStringConcat": "error",
|
|
120
|
+
"noUselessStringRaw": "error",
|
|
121
|
+
"noUselessSwitchCase": "error",
|
|
122
|
+
"noUselessTernary": "error",
|
|
123
|
+
"noUselessThisAlias": "error",
|
|
124
|
+
"noUselessTypeConstraint": "error",
|
|
125
|
+
"noUselessUndefinedInitialization": "error",
|
|
126
126
|
"noVoid": "off",
|
|
127
|
-
"useArrowFunction": "
|
|
128
|
-
"useDateNow": "
|
|
129
|
-
"useFlatMap": "
|
|
130
|
-
"useIndexOf": "
|
|
127
|
+
"useArrowFunction": "error",
|
|
128
|
+
"useDateNow": "error",
|
|
129
|
+
"useFlatMap": "error",
|
|
130
|
+
"useIndexOf": "error",
|
|
131
131
|
"useLiteralKeys": "off",
|
|
132
|
-
"useNumericLiterals": "
|
|
133
|
-
"useOptionalChain": "
|
|
134
|
-
"useRegexLiterals": "
|
|
135
|
-
"useSimpleNumberKeys": "
|
|
136
|
-
"useSimplifiedLogicExpression": "
|
|
137
|
-
"useWhile": "
|
|
132
|
+
"useNumericLiterals": "error",
|
|
133
|
+
"useOptionalChain": "error",
|
|
134
|
+
"useRegexLiterals": "error",
|
|
135
|
+
"useSimpleNumberKeys": "error",
|
|
136
|
+
"useSimplifiedLogicExpression": "error",
|
|
137
|
+
"useWhile": "error"
|
|
138
138
|
},
|
|
139
139
|
"correctness": {
|
|
140
|
-
"noChildrenProp": "
|
|
141
|
-
"noConstAssign": "
|
|
142
|
-
"noConstantCondition": "
|
|
143
|
-
"noConstantMathMinMaxClamp": "
|
|
144
|
-
"noConstructorReturn": "
|
|
145
|
-
"noEmptyCharacterClassInRegex": "
|
|
146
|
-
"noEmptyPattern": "
|
|
147
|
-
"noGlobalDirnameFilename": "
|
|
148
|
-
"noGlobalObjectCalls": "
|
|
149
|
-
"noInnerDeclarations": "
|
|
150
|
-
"noInvalidBuiltinInstantiation": "
|
|
151
|
-
"noInvalidConstructorSuper": "
|
|
152
|
-
"noInvalidDirectionInLinearGradient": "
|
|
153
|
-
"noInvalidGridAreas": "
|
|
154
|
-
"noInvalidPositionAtImportRule": "
|
|
155
|
-
"noInvalidUseBeforeDeclaration": "
|
|
156
|
-
"noMissingVarFunction": "
|
|
157
|
-
"noNestedComponentDefinitions": "
|
|
140
|
+
"noChildrenProp": "error",
|
|
141
|
+
"noConstAssign": "error",
|
|
142
|
+
"noConstantCondition": "error",
|
|
143
|
+
"noConstantMathMinMaxClamp": "error",
|
|
144
|
+
"noConstructorReturn": "error",
|
|
145
|
+
"noEmptyCharacterClassInRegex": "error",
|
|
146
|
+
"noEmptyPattern": "error",
|
|
147
|
+
"noGlobalDirnameFilename": "error",
|
|
148
|
+
"noGlobalObjectCalls": "error",
|
|
149
|
+
"noInnerDeclarations": "error",
|
|
150
|
+
"noInvalidBuiltinInstantiation": "error",
|
|
151
|
+
"noInvalidConstructorSuper": "error",
|
|
152
|
+
"noInvalidDirectionInLinearGradient": "error",
|
|
153
|
+
"noInvalidGridAreas": "error",
|
|
154
|
+
"noInvalidPositionAtImportRule": "error",
|
|
155
|
+
"noInvalidUseBeforeDeclaration": "error",
|
|
156
|
+
"noMissingVarFunction": "error",
|
|
157
|
+
"noNestedComponentDefinitions": "error",
|
|
158
158
|
"noNodejsModules": "off",
|
|
159
|
-
"noNonoctalDecimalEscape": "
|
|
160
|
-
"noPrecisionLoss": "
|
|
161
|
-
"noPrivateImports": "
|
|
162
|
-
"noProcessGlobal": "
|
|
163
|
-
"noReactPropAssignments": "
|
|
164
|
-
"noRenderReturnValue": "
|
|
165
|
-
"noRestrictedElements": "
|
|
166
|
-
"noSelfAssign": "
|
|
167
|
-
"noSetterReturn": "
|
|
159
|
+
"noNonoctalDecimalEscape": "error",
|
|
160
|
+
"noPrecisionLoss": "error",
|
|
161
|
+
"noPrivateImports": "error",
|
|
162
|
+
"noProcessGlobal": "error",
|
|
163
|
+
"noReactPropAssignments": "error",
|
|
164
|
+
"noRenderReturnValue": "error",
|
|
165
|
+
"noRestrictedElements": "error",
|
|
166
|
+
"noSelfAssign": "error",
|
|
167
|
+
"noSetterReturn": "error",
|
|
168
168
|
"noSolidDestructuredProps": "off",
|
|
169
|
-
"noStringCaseMismatch": "
|
|
170
|
-
"noSwitchDeclarations": "
|
|
169
|
+
"noStringCaseMismatch": "error",
|
|
170
|
+
"noSwitchDeclarations": "error",
|
|
171
171
|
"noUndeclaredDependencies": "off",
|
|
172
172
|
"noUndeclaredVariables": "off",
|
|
173
|
-
"noUnknownFunction": "
|
|
174
|
-
"noUnknownMediaFeatureName": "
|
|
175
|
-
"noUnknownProperty": "
|
|
176
|
-
"noUnknownPseudoClass": "
|
|
177
|
-
"noUnknownPseudoElement": "
|
|
178
|
-
"noUnknownTypeSelector": "
|
|
179
|
-
"noUnknownUnit": "
|
|
180
|
-
"noUnmatchableAnbSelector": "
|
|
181
|
-
"noUnreachable": "
|
|
182
|
-
"noUnreachableSuper": "
|
|
183
|
-
"noUnsafeFinally": "
|
|
184
|
-
"noUnsafeOptionalChaining": "
|
|
185
|
-
"noUnusedFunctionParameters": "
|
|
186
|
-
"noUnusedImports": "
|
|
187
|
-
"noUnusedLabels": "
|
|
188
|
-
"noUnusedPrivateClassMembers": "
|
|
189
|
-
"noUnusedVariables": "
|
|
190
|
-
"noVoidElementsWithChildren": "
|
|
191
|
-
"noVoidTypeReturn": "
|
|
192
|
-
"useExhaustiveDependencies": "
|
|
193
|
-
"useGraphqlNamedOperations": "
|
|
194
|
-
"useHookAtTopLevel": "
|
|
195
|
-
"useImportExtensions": "
|
|
196
|
-
"useIsNan": "
|
|
197
|
-
"useJsonImportAttributes": "
|
|
198
|
-
"useJsxKeyInIterable": "
|
|
199
|
-
"useParseIntRadix": "
|
|
200
|
-
"useSingleJsDocAsterisk": "
|
|
201
|
-
"useUniqueElementIds": "
|
|
202
|
-
"useValidForDirection": "
|
|
203
|
-
"useValidTypeof": "
|
|
204
|
-
"useYield": "
|
|
173
|
+
"noUnknownFunction": "error",
|
|
174
|
+
"noUnknownMediaFeatureName": "error",
|
|
175
|
+
"noUnknownProperty": "error",
|
|
176
|
+
"noUnknownPseudoClass": "error",
|
|
177
|
+
"noUnknownPseudoElement": "error",
|
|
178
|
+
"noUnknownTypeSelector": "error",
|
|
179
|
+
"noUnknownUnit": "error",
|
|
180
|
+
"noUnmatchableAnbSelector": "error",
|
|
181
|
+
"noUnreachable": "error",
|
|
182
|
+
"noUnreachableSuper": "error",
|
|
183
|
+
"noUnsafeFinally": "error",
|
|
184
|
+
"noUnsafeOptionalChaining": "error",
|
|
185
|
+
"noUnusedFunctionParameters": "error",
|
|
186
|
+
"noUnusedImports": "error",
|
|
187
|
+
"noUnusedLabels": "error",
|
|
188
|
+
"noUnusedPrivateClassMembers": "error",
|
|
189
|
+
"noUnusedVariables": "error",
|
|
190
|
+
"noVoidElementsWithChildren": "error",
|
|
191
|
+
"noVoidTypeReturn": "error",
|
|
192
|
+
"useExhaustiveDependencies": "error",
|
|
193
|
+
"useGraphqlNamedOperations": "error",
|
|
194
|
+
"useHookAtTopLevel": "error",
|
|
195
|
+
"useImportExtensions": "error",
|
|
196
|
+
"useIsNan": "error",
|
|
197
|
+
"useJsonImportAttributes": "error",
|
|
198
|
+
"useJsxKeyInIterable": "error",
|
|
199
|
+
"useParseIntRadix": "error",
|
|
200
|
+
"useSingleJsDocAsterisk": "error",
|
|
201
|
+
"useUniqueElementIds": "error",
|
|
202
|
+
"useValidForDirection": "error",
|
|
203
|
+
"useValidTypeof": "error",
|
|
204
|
+
"useYield": "error"
|
|
205
205
|
},
|
|
206
206
|
"nursery": {
|
|
207
|
-
"noDuplicateDependencies": "
|
|
208
|
-
"noFloatingPromises": "
|
|
209
|
-
"noImportCycles": "
|
|
210
|
-
"noJsxLiterals": "
|
|
211
|
-
"noMisusedPromises": "
|
|
212
|
-
"noNextAsyncClientComponent": "
|
|
213
|
-
"noNonNullAssertedOptionalChain": "
|
|
214
|
-
"noQwikUseVisibleTask": "
|
|
207
|
+
"noDuplicateDependencies": "error",
|
|
208
|
+
"noFloatingPromises": "error",
|
|
209
|
+
"noImportCycles": "error",
|
|
210
|
+
"noJsxLiterals": "error",
|
|
211
|
+
"noMisusedPromises": "error",
|
|
212
|
+
"noNextAsyncClientComponent": "error",
|
|
213
|
+
"noNonNullAssertedOptionalChain": "error",
|
|
214
|
+
"noQwikUseVisibleTask": "error",
|
|
215
215
|
"noSecrets": "off",
|
|
216
|
-
"noShadow": "
|
|
217
|
-
"noUnnecessaryConditions": "
|
|
216
|
+
"noShadow": "error",
|
|
217
|
+
"noUnnecessaryConditions": "error",
|
|
218
218
|
"noUnresolvedImports": "off",
|
|
219
|
-
"noUselessCatchBinding": "
|
|
220
|
-
"noUselessUndefined": "
|
|
221
|
-
"noVueDataObjectDeclaration": "
|
|
222
|
-
"noVueReservedKeys": "
|
|
223
|
-
"noVueReservedProps": "
|
|
224
|
-
"useAnchorHref": "
|
|
225
|
-
"useConsistentArrowReturn": "
|
|
226
|
-
"useConsistentTypeDefinitions": "
|
|
227
|
-
"useExhaustiveSwitchCases": "
|
|
219
|
+
"noUselessCatchBinding": "error",
|
|
220
|
+
"noUselessUndefined": "error",
|
|
221
|
+
"noVueDataObjectDeclaration": "error",
|
|
222
|
+
"noVueReservedKeys": "error",
|
|
223
|
+
"noVueReservedProps": "error",
|
|
224
|
+
"useAnchorHref": "error",
|
|
225
|
+
"useConsistentArrowReturn": "error",
|
|
226
|
+
"useConsistentTypeDefinitions": "error",
|
|
227
|
+
"useExhaustiveSwitchCases": "error",
|
|
228
228
|
"useExplicitType": "off",
|
|
229
|
-
"useImageSize": "
|
|
230
|
-
"useMaxParams": "
|
|
231
|
-
"useQwikClasslist": "
|
|
232
|
-
"useReactFunctionComponents": "
|
|
233
|
-
"useSortedClasses": "
|
|
234
|
-
"useVueMultiWordComponentNames": "
|
|
229
|
+
"useImageSize": "error",
|
|
230
|
+
"useMaxParams": "error",
|
|
231
|
+
"useQwikClasslist": "error",
|
|
232
|
+
"useReactFunctionComponents": "error",
|
|
233
|
+
"useSortedClasses": "error",
|
|
234
|
+
"useVueMultiWordComponentNames": "error"
|
|
235
235
|
},
|
|
236
236
|
"performance": {
|
|
237
|
-
"noAccumulatingSpread": "
|
|
238
|
-
"noAwaitInLoops": "
|
|
237
|
+
"noAccumulatingSpread": "error",
|
|
238
|
+
"noAwaitInLoops": "error",
|
|
239
239
|
"noBarrelFile": "off",
|
|
240
|
-
"noDelete": "
|
|
241
|
-
"noDynamicNamespaceImportAccess": "
|
|
242
|
-
"noImgElement": "
|
|
240
|
+
"noDelete": "error",
|
|
241
|
+
"noDynamicNamespaceImportAccess": "error",
|
|
242
|
+
"noImgElement": "error",
|
|
243
243
|
"noNamespaceImport": "off",
|
|
244
|
-
"noReExportAll": "
|
|
245
|
-
"noUnwantedPolyfillio": "
|
|
246
|
-
"useGoogleFontPreconnect": "
|
|
247
|
-
"useSolidForComponent": "
|
|
248
|
-
"useTopLevelRegex": "
|
|
244
|
+
"noReExportAll": "error",
|
|
245
|
+
"noUnwantedPolyfillio": "error",
|
|
246
|
+
"useGoogleFontPreconnect": "error",
|
|
247
|
+
"useSolidForComponent": "error",
|
|
248
|
+
"useTopLevelRegex": "error"
|
|
249
249
|
},
|
|
250
250
|
"security": {
|
|
251
|
-
"noBlankTarget": "
|
|
252
|
-
"noDangerouslySetInnerHtml": "
|
|
253
|
-
"noDangerouslySetInnerHtmlWithChildren": "
|
|
254
|
-
"noGlobalEval": "
|
|
251
|
+
"noBlankTarget": "error",
|
|
252
|
+
"noDangerouslySetInnerHtml": "error",
|
|
253
|
+
"noDangerouslySetInnerHtmlWithChildren": "error",
|
|
254
|
+
"noGlobalEval": "error"
|
|
255
255
|
},
|
|
256
256
|
"style": {
|
|
257
|
-
"noCommonJs": "
|
|
258
|
-
"noDefaultExport": "
|
|
259
|
-
"noDescendingSpecificity": "
|
|
260
|
-
"noDoneCallback": "
|
|
257
|
+
"noCommonJs": "error",
|
|
258
|
+
"noDefaultExport": "error",
|
|
259
|
+
"noDescendingSpecificity": "error",
|
|
260
|
+
"noDoneCallback": "error",
|
|
261
261
|
"noEnum": "off",
|
|
262
|
-
"noExportedImports": "
|
|
263
|
-
"noHeadElement": "
|
|
264
|
-
"noImplicitBoolean": "
|
|
265
|
-
"noInferrableTypes": "
|
|
266
|
-
"noMagicNumbers": "
|
|
267
|
-
"noNamespace": "
|
|
268
|
-
"noNegationElse": "
|
|
269
|
-
"noNestedTernary": "
|
|
270
|
-
"noNonNullAssertion": "
|
|
271
|
-
"noParameterAssign": "
|
|
272
|
-
"noParameterProperties": "
|
|
262
|
+
"noExportedImports": "error",
|
|
263
|
+
"noHeadElement": "error",
|
|
264
|
+
"noImplicitBoolean": "error",
|
|
265
|
+
"noInferrableTypes": "error",
|
|
266
|
+
"noMagicNumbers": "off",
|
|
267
|
+
"noNamespace": "error",
|
|
268
|
+
"noNegationElse": "error",
|
|
269
|
+
"noNestedTernary": "error",
|
|
270
|
+
"noNonNullAssertion": "error",
|
|
271
|
+
"noParameterAssign": "error",
|
|
272
|
+
"noParameterProperties": "error",
|
|
273
273
|
"noProcessEnv": "off",
|
|
274
|
-
"noRestrictedGlobals": "
|
|
275
|
-
"noRestrictedImports": "
|
|
276
|
-
"noRestrictedTypes": "
|
|
277
|
-
"noShoutyConstants": "
|
|
278
|
-
"noSubstr": "
|
|
279
|
-
"noUnusedTemplateLiteral": "
|
|
280
|
-
"noUselessElse": "
|
|
281
|
-
"noValueAtRule": "
|
|
282
|
-
"noYodaExpression": "
|
|
283
|
-
"useArrayLiterals": "
|
|
284
|
-
"useAsConstAssertion": "
|
|
285
|
-
"useAtIndex": "
|
|
274
|
+
"noRestrictedGlobals": "error",
|
|
275
|
+
"noRestrictedImports": "error",
|
|
276
|
+
"noRestrictedTypes": "error",
|
|
277
|
+
"noShoutyConstants": "error",
|
|
278
|
+
"noSubstr": "error",
|
|
279
|
+
"noUnusedTemplateLiteral": "error",
|
|
280
|
+
"noUselessElse": "error",
|
|
281
|
+
"noValueAtRule": "error",
|
|
282
|
+
"noYodaExpression": "error",
|
|
283
|
+
"useArrayLiterals": "error",
|
|
284
|
+
"useAsConstAssertion": "error",
|
|
285
|
+
"useAtIndex": "error",
|
|
286
286
|
"useBlockStatements": "off",
|
|
287
|
-
"useCollapsedElseIf": "
|
|
288
|
-
"useCollapsedIf": "
|
|
289
|
-
"useComponentExportOnlyModules": "
|
|
290
|
-
"useConsistentArrayType": "
|
|
291
|
-
"useConsistentBuiltinInstantiation": "
|
|
292
|
-
"useConsistentCurlyBraces": "
|
|
287
|
+
"useCollapsedElseIf": "error",
|
|
288
|
+
"useCollapsedIf": "error",
|
|
289
|
+
"useComponentExportOnlyModules": "error",
|
|
290
|
+
"useConsistentArrayType": "error",
|
|
291
|
+
"useConsistentBuiltinInstantiation": "error",
|
|
292
|
+
"useConsistentCurlyBraces": "error",
|
|
293
293
|
"useConsistentMemberAccessibility": {
|
|
294
|
-
"level": "
|
|
294
|
+
"level": "error",
|
|
295
295
|
"options": {
|
|
296
296
|
"accessibility": "explicit"
|
|
297
297
|
}
|
|
298
298
|
},
|
|
299
|
-
"useConsistentObjectDefinitions": "
|
|
300
|
-
"useConst": "
|
|
301
|
-
"useDefaultParameterLast": "
|
|
302
|
-
"useDefaultSwitchClause": "
|
|
303
|
-
"useDeprecatedReason": "
|
|
304
|
-
"useEnumInitializers": "
|
|
305
|
-
"useExplicitLengthCheck": "
|
|
306
|
-
"useExponentiationOperator": "
|
|
307
|
-
"useExportType": "
|
|
299
|
+
"useConsistentObjectDefinitions": "error",
|
|
300
|
+
"useConst": "error",
|
|
301
|
+
"useDefaultParameterLast": "error",
|
|
302
|
+
"useDefaultSwitchClause": "error",
|
|
303
|
+
"useDeprecatedReason": "error",
|
|
304
|
+
"useEnumInitializers": "error",
|
|
305
|
+
"useExplicitLengthCheck": "error",
|
|
306
|
+
"useExponentiationOperator": "error",
|
|
307
|
+
"useExportType": "error",
|
|
308
308
|
"useExportsLast": "off",
|
|
309
309
|
"useFilenamingConvention": "off",
|
|
310
|
-
"useForOf": "
|
|
311
|
-
"useFragmentSyntax": "
|
|
312
|
-
"useGraphqlNamingConvention": "
|
|
313
|
-
"useGroupedAccessorPairs": "
|
|
310
|
+
"useForOf": "error",
|
|
311
|
+
"useFragmentSyntax": "error",
|
|
312
|
+
"useGraphqlNamingConvention": "error",
|
|
313
|
+
"useGroupedAccessorPairs": "error",
|
|
314
314
|
"useImportType": {
|
|
315
|
-
"level": "
|
|
315
|
+
"level": "error",
|
|
316
316
|
"options": {
|
|
317
317
|
"style": "separatedType"
|
|
318
318
|
}
|
|
319
319
|
},
|
|
320
|
-
"useLiteralEnumMembers": "
|
|
320
|
+
"useLiteralEnumMembers": "error",
|
|
321
321
|
"useNamingConvention": "off",
|
|
322
|
-
"useNodeAssertStrict": "
|
|
323
|
-
"useNodejsImportProtocol": "
|
|
324
|
-
"useNumberNamespace": "
|
|
325
|
-
"useNumericSeparators": "
|
|
326
|
-
"useObjectSpread": "
|
|
327
|
-
"useReadonlyClassProperties": "
|
|
328
|
-
"useSelfClosingElements": "
|
|
329
|
-
"useShorthandAssign": "
|
|
330
|
-
"useShorthandFunctionType": "
|
|
331
|
-
"useSingleVarDeclarator": "
|
|
332
|
-
"useSymbolDescription": "
|
|
333
|
-
"useTemplate": "
|
|
334
|
-
"useThrowNewError": "
|
|
335
|
-
"useThrowOnlyError": "
|
|
336
|
-
"useTrimStartEnd": "
|
|
337
|
-
"useUnifiedTypeSignatures": "
|
|
322
|
+
"useNodeAssertStrict": "error",
|
|
323
|
+
"useNodejsImportProtocol": "error",
|
|
324
|
+
"useNumberNamespace": "error",
|
|
325
|
+
"useNumericSeparators": "error",
|
|
326
|
+
"useObjectSpread": "error",
|
|
327
|
+
"useReadonlyClassProperties": "error",
|
|
328
|
+
"useSelfClosingElements": "error",
|
|
329
|
+
"useShorthandAssign": "error",
|
|
330
|
+
"useShorthandFunctionType": "error",
|
|
331
|
+
"useSingleVarDeclarator": "error",
|
|
332
|
+
"useSymbolDescription": "error",
|
|
333
|
+
"useTemplate": "error",
|
|
334
|
+
"useThrowNewError": "error",
|
|
335
|
+
"useThrowOnlyError": "error",
|
|
336
|
+
"useTrimStartEnd": "error",
|
|
337
|
+
"useUnifiedTypeSignatures": "error"
|
|
338
338
|
},
|
|
339
339
|
"suspicious": {
|
|
340
|
-
"noAlert": "
|
|
341
|
-
"noApproximativeNumericConstant": "
|
|
342
|
-
"noArrayIndexKey": "
|
|
343
|
-
"noAssignInExpressions": "
|
|
344
|
-
"noAsyncPromiseExecutor": "
|
|
345
|
-
"noBiomeFirstException": "
|
|
346
|
-
"noBitwiseOperators": "
|
|
347
|
-
"noCatchAssign": "
|
|
348
|
-
"noClassAssign": "
|
|
349
|
-
"noCommentText": "
|
|
350
|
-
"noCompareNegZero": "
|
|
351
|
-
"noConfusingLabels": "
|
|
352
|
-
"noConfusingVoidType": "
|
|
340
|
+
"noAlert": "error",
|
|
341
|
+
"noApproximativeNumericConstant": "error",
|
|
342
|
+
"noArrayIndexKey": "error",
|
|
343
|
+
"noAssignInExpressions": "error",
|
|
344
|
+
"noAsyncPromiseExecutor": "error",
|
|
345
|
+
"noBiomeFirstException": "error",
|
|
346
|
+
"noBitwiseOperators": "error",
|
|
347
|
+
"noCatchAssign": "error",
|
|
348
|
+
"noClassAssign": "error",
|
|
349
|
+
"noCommentText": "error",
|
|
350
|
+
"noCompareNegZero": "error",
|
|
351
|
+
"noConfusingLabels": "error",
|
|
352
|
+
"noConfusingVoidType": "error",
|
|
353
353
|
"noConsole": "off",
|
|
354
|
-
"noConstEnum": "
|
|
355
|
-
"noConstantBinaryExpressions": "
|
|
356
|
-
"noControlCharactersInRegex": "
|
|
357
|
-
"noDebugger": "
|
|
358
|
-
"noDocumentCookie": "
|
|
359
|
-
"noDocumentImportInPage": "
|
|
360
|
-
"noDoubleEquals": "
|
|
361
|
-
"noDuplicateAtImportRules": "
|
|
362
|
-
"noDuplicateCase": "
|
|
363
|
-
"noDuplicateClassMembers": "
|
|
364
|
-
"noDuplicateCustomProperties": "
|
|
365
|
-
"noDuplicateElseIf": "
|
|
366
|
-
"noDuplicateFields": "
|
|
367
|
-
"noDuplicateFontNames": "
|
|
368
|
-
"noDuplicateJsxProps": "
|
|
369
|
-
"noDuplicateObjectKeys": "
|
|
370
|
-
"noDuplicateParameters": "
|
|
371
|
-
"noDuplicateProperties": "
|
|
372
|
-
"noDuplicateSelectorsKeyframeBlock": "
|
|
373
|
-
"noDuplicateTestHooks": "
|
|
374
|
-
"noEmptyBlock": "
|
|
375
|
-
"noEmptyBlockStatements": "
|
|
376
|
-
"noEmptyInterface": "
|
|
377
|
-
"noEvolvingTypes": "
|
|
378
|
-
"noExplicitAny": "
|
|
379
|
-
"noExportsInTest": "
|
|
380
|
-
"noExtraNonNullAssertion": "
|
|
381
|
-
"noFallthroughSwitchClause": "
|
|
382
|
-
"noFocusedTests": "
|
|
383
|
-
"noFunctionAssign": "
|
|
384
|
-
"noGlobalAssign": "
|
|
385
|
-
"noGlobalIsFinite": "
|
|
386
|
-
"noGlobalIsNan": "
|
|
387
|
-
"noHeadImportInDocument": "
|
|
388
|
-
"noImplicitAnyLet": "
|
|
389
|
-
"noImportAssign": "
|
|
390
|
-
"noImportantInKeyframe": "
|
|
391
|
-
"noIrregularWhitespace": "
|
|
392
|
-
"noLabelVar": "
|
|
393
|
-
"noMisleadingCharacterClass": "
|
|
394
|
-
"noMisleadingInstantiator": "
|
|
395
|
-
"noMisplacedAssertion": "
|
|
396
|
-
"noMisrefactoredShorthandAssign": "
|
|
397
|
-
"noOctalEscape": "
|
|
398
|
-
"noPrototypeBuiltins": "
|
|
399
|
-
"noQuickfixBiome": "
|
|
354
|
+
"noConstEnum": "error",
|
|
355
|
+
"noConstantBinaryExpressions": "error",
|
|
356
|
+
"noControlCharactersInRegex": "error",
|
|
357
|
+
"noDebugger": "error",
|
|
358
|
+
"noDocumentCookie": "error",
|
|
359
|
+
"noDocumentImportInPage": "error",
|
|
360
|
+
"noDoubleEquals": "error",
|
|
361
|
+
"noDuplicateAtImportRules": "error",
|
|
362
|
+
"noDuplicateCase": "error",
|
|
363
|
+
"noDuplicateClassMembers": "error",
|
|
364
|
+
"noDuplicateCustomProperties": "error",
|
|
365
|
+
"noDuplicateElseIf": "error",
|
|
366
|
+
"noDuplicateFields": "error",
|
|
367
|
+
"noDuplicateFontNames": "error",
|
|
368
|
+
"noDuplicateJsxProps": "error",
|
|
369
|
+
"noDuplicateObjectKeys": "error",
|
|
370
|
+
"noDuplicateParameters": "error",
|
|
371
|
+
"noDuplicateProperties": "error",
|
|
372
|
+
"noDuplicateSelectorsKeyframeBlock": "error",
|
|
373
|
+
"noDuplicateTestHooks": "error",
|
|
374
|
+
"noEmptyBlock": "error",
|
|
375
|
+
"noEmptyBlockStatements": "error",
|
|
376
|
+
"noEmptyInterface": "error",
|
|
377
|
+
"noEvolvingTypes": "error",
|
|
378
|
+
"noExplicitAny": "error",
|
|
379
|
+
"noExportsInTest": "error",
|
|
380
|
+
"noExtraNonNullAssertion": "error",
|
|
381
|
+
"noFallthroughSwitchClause": "error",
|
|
382
|
+
"noFocusedTests": "error",
|
|
383
|
+
"noFunctionAssign": "error",
|
|
384
|
+
"noGlobalAssign": "error",
|
|
385
|
+
"noGlobalIsFinite": "error",
|
|
386
|
+
"noGlobalIsNan": "error",
|
|
387
|
+
"noHeadImportInDocument": "error",
|
|
388
|
+
"noImplicitAnyLet": "error",
|
|
389
|
+
"noImportAssign": "error",
|
|
390
|
+
"noImportantInKeyframe": "error",
|
|
391
|
+
"noIrregularWhitespace": "error",
|
|
392
|
+
"noLabelVar": "error",
|
|
393
|
+
"noMisleadingCharacterClass": "error",
|
|
394
|
+
"noMisleadingInstantiator": "error",
|
|
395
|
+
"noMisplacedAssertion": "error",
|
|
396
|
+
"noMisrefactoredShorthandAssign": "error",
|
|
397
|
+
"noOctalEscape": "error",
|
|
398
|
+
"noPrototypeBuiltins": "error",
|
|
399
|
+
"noQuickfixBiome": "error",
|
|
400
400
|
"noReactSpecificProps": "off",
|
|
401
|
-
"noRedeclare": "
|
|
402
|
-
"noRedundantUseStrict": "
|
|
403
|
-
"noSelfCompare": "
|
|
404
|
-
"noShadowRestrictedNames": "
|
|
405
|
-
"noShorthandPropertyOverrides": "
|
|
406
|
-
"noSkippedTests": "
|
|
407
|
-
"noSparseArray": "
|
|
408
|
-
"noSuspiciousSemicolonInJsx": "
|
|
409
|
-
"noTemplateCurlyInString": "
|
|
410
|
-
"noThenProperty": "
|
|
411
|
-
"noTsIgnore": "
|
|
412
|
-
"noUnassignedVariables": "
|
|
413
|
-
"noUnknownAtRules": "
|
|
414
|
-
"noUnsafeDeclarationMerging": "
|
|
415
|
-
"noUnsafeNegation": "
|
|
416
|
-
"noUselessEscapeInString": "
|
|
417
|
-
"noUselessRegexBackrefs": "
|
|
418
|
-
"noVar": "
|
|
419
|
-
"noWith": "
|
|
420
|
-
"useAdjacentOverloadSignatures": "
|
|
421
|
-
"useAwait": "
|
|
422
|
-
"useBiomeIgnoreFolder": "
|
|
423
|
-
"useDefaultSwitchClauseLast": "
|
|
424
|
-
"useErrorMessage": "
|
|
425
|
-
"useGetterReturn": "
|
|
426
|
-
"useGoogleFontDisplay": "
|
|
427
|
-
"useGuardForIn": "
|
|
428
|
-
"useIsArray": "
|
|
429
|
-
"useIterableCallbackReturn": "
|
|
430
|
-
"useNamespaceKeyword": "
|
|
431
|
-
"useNumberToFixedDigitsArgument": "
|
|
432
|
-
"useStaticResponseMethods": "
|
|
433
|
-
"useStrictMode": "
|
|
401
|
+
"noRedeclare": "error",
|
|
402
|
+
"noRedundantUseStrict": "error",
|
|
403
|
+
"noSelfCompare": "error",
|
|
404
|
+
"noShadowRestrictedNames": "error",
|
|
405
|
+
"noShorthandPropertyOverrides": "error",
|
|
406
|
+
"noSkippedTests": "error",
|
|
407
|
+
"noSparseArray": "error",
|
|
408
|
+
"noSuspiciousSemicolonInJsx": "error",
|
|
409
|
+
"noTemplateCurlyInString": "error",
|
|
410
|
+
"noThenProperty": "error",
|
|
411
|
+
"noTsIgnore": "error",
|
|
412
|
+
"noUnassignedVariables": "error",
|
|
413
|
+
"noUnknownAtRules": "error",
|
|
414
|
+
"noUnsafeDeclarationMerging": "error",
|
|
415
|
+
"noUnsafeNegation": "error",
|
|
416
|
+
"noUselessEscapeInString": "error",
|
|
417
|
+
"noUselessRegexBackrefs": "error",
|
|
418
|
+
"noVar": "error",
|
|
419
|
+
"noWith": "error",
|
|
420
|
+
"useAdjacentOverloadSignatures": "error",
|
|
421
|
+
"useAwait": "error",
|
|
422
|
+
"useBiomeIgnoreFolder": "error",
|
|
423
|
+
"useDefaultSwitchClauseLast": "error",
|
|
424
|
+
"useErrorMessage": "error",
|
|
425
|
+
"useGetterReturn": "error",
|
|
426
|
+
"useGoogleFontDisplay": "error",
|
|
427
|
+
"useGuardForIn": "error",
|
|
428
|
+
"useIsArray": "error",
|
|
429
|
+
"useIterableCallbackReturn": "error",
|
|
430
|
+
"useNamespaceKeyword": "error",
|
|
431
|
+
"useNumberToFixedDigitsArgument": "error",
|
|
432
|
+
"useStaticResponseMethods": "error",
|
|
433
|
+
"useStrictMode": "error"
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
436
|
}
|