eslint-config-heck 2.0.0 → 2.1.1
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/biomeLinting.json +19 -12
- package/package.json +4 -4
package/biomeLinting.json
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"noBlankTarget": "error",
|
|
11
11
|
"noDistractingElements": "error",
|
|
12
12
|
"noHeaderScope": "error",
|
|
13
|
+
"noInteractiveElementToNoninteractiveRole": "error",
|
|
13
14
|
"noNoninteractiveElementToInteractiveRole": "error",
|
|
14
15
|
"noNoninteractiveTabindex": "error",
|
|
15
16
|
"noPositiveTabindex": "error",
|
|
@@ -18,6 +19,7 @@
|
|
|
18
19
|
"noSvgWithoutTitle": "error",
|
|
19
20
|
"useAltText": "error",
|
|
20
21
|
"useAnchorContent": "error",
|
|
22
|
+
"useAriaActivedescendantWithTabindex": "error",
|
|
21
23
|
"useAriaPropsForRole": "error",
|
|
22
24
|
"useButtonType": "error",
|
|
23
25
|
"useHeadingContent": "error",
|
|
@@ -38,6 +40,7 @@
|
|
|
38
40
|
"noForEach": "error",
|
|
39
41
|
"noMultipleSpacesInRegularExpressionLiterals": "error",
|
|
40
42
|
"noStaticOnlyClass": "error",
|
|
43
|
+
"noThisInStatic": "error",
|
|
41
44
|
"noUselessCatch": "error",
|
|
42
45
|
"noUselessConstructor": "error",
|
|
43
46
|
"noUselessEmptyExport": "error",
|
|
@@ -49,6 +52,7 @@
|
|
|
49
52
|
"noUselessTypeConstraint": "error",
|
|
50
53
|
"noVoid": "error",
|
|
51
54
|
"noWith": "error",
|
|
55
|
+
"useArrowFunction": "error",
|
|
52
56
|
"useFlatMap": "error",
|
|
53
57
|
"useLiteralKeys": "error",
|
|
54
58
|
"useOptionalChain": "error",
|
|
@@ -60,11 +64,12 @@
|
|
|
60
64
|
"noConstAssign": "error",
|
|
61
65
|
"noConstantCondition": "error",
|
|
62
66
|
"noConstructorReturn": "error",
|
|
67
|
+
"noEmptyCharacterClassInRegex": "error",
|
|
63
68
|
"noEmptyPattern": "error",
|
|
64
69
|
"noGlobalObjectCalls": "error",
|
|
65
70
|
"noInnerDeclarations": "error",
|
|
66
71
|
"noInvalidConstructorSuper": "error",
|
|
67
|
-
"
|
|
72
|
+
"noInvalidNewBuiltin": "error",
|
|
68
73
|
"noNonoctalDecimalEscape": "error",
|
|
69
74
|
"noPrecisionLoss": "error",
|
|
70
75
|
"noRenderReturnValue": "error",
|
|
@@ -109,6 +114,8 @@
|
|
|
109
114
|
"noRestrictedGlobals": "off",
|
|
110
115
|
"noShoutyConstants": "error",
|
|
111
116
|
"noUnusedTemplateLiteral": "error",
|
|
117
|
+
"noUselessElse": "error",
|
|
118
|
+
"useAsConstAssertion": "error",
|
|
112
119
|
"noVar": "error",
|
|
113
120
|
"useBlockStatements": "error",
|
|
114
121
|
"useCollapsedElseIf": "error",
|
|
@@ -122,12 +129,14 @@
|
|
|
122
129
|
"useNumericLiterals": "error",
|
|
123
130
|
"useSelfClosingElements": "error",
|
|
124
131
|
"useShorthandArrayType": "error",
|
|
132
|
+
"useShorthandAssign": "error",
|
|
125
133
|
"useSingleCaseStatement": "error",
|
|
126
134
|
"useSingleVarDeclarator": "error",
|
|
127
135
|
"useTemplate": "error",
|
|
128
136
|
"useWhile": "error"
|
|
129
137
|
},
|
|
130
138
|
"suspicious": {
|
|
139
|
+
"noApproximativeNumericConstant": "error",
|
|
131
140
|
"noArrayIndexKey": "error",
|
|
132
141
|
"noAssignInExpressions": "error",
|
|
133
142
|
"noAsyncPromiseExecutor": "error",
|
|
@@ -156,6 +165,8 @@
|
|
|
156
165
|
"noGlobalIsNan": "error",
|
|
157
166
|
"noImportAssign": "error",
|
|
158
167
|
"noLabelVar": "error",
|
|
168
|
+
"noMisleadingInstantiator": "error",
|
|
169
|
+
"noMisrefactoredShorthandAssign": "error",
|
|
159
170
|
"noPrototypeBuiltins": "error",
|
|
160
171
|
"noRedeclare": "error",
|
|
161
172
|
"noRedundantUseStrict": "error",
|
|
@@ -171,23 +182,19 @@
|
|
|
171
182
|
"useValidTypeof": "error"
|
|
172
183
|
},
|
|
173
184
|
"nursery": {
|
|
174
|
-
"
|
|
185
|
+
"noAriaHiddenOnFocusable": "error",
|
|
186
|
+
"noDefaultExport": "error",
|
|
175
187
|
"noDuplicateJsonKeys": "error",
|
|
176
188
|
"noEmptyBlockStatements": "error",
|
|
177
|
-
"
|
|
178
|
-
"noInteractiveElementToNoninteractiveRole": "error",
|
|
179
|
-
"noInvalidNewBuiltin": "error",
|
|
180
|
-
"noMisleadingInstantiator": "error",
|
|
181
|
-
"noMisrefactoredShorthandAssign": "error",
|
|
189
|
+
"noImplicitAnyLet": "error",
|
|
182
190
|
"noUnusedImports": "error",
|
|
183
|
-
"
|
|
191
|
+
"noUnusedPrivateClassMembers": "error",
|
|
184
192
|
"noUselessLoneBlockStatements": "off",
|
|
185
|
-
"
|
|
186
|
-
"useArrowFunction": "error",
|
|
187
|
-
"useAsConstAssertion": "error",
|
|
193
|
+
"useAwait": "off",
|
|
188
194
|
"useGroupedTypeImport": "error",
|
|
189
195
|
"useImportRestrictions": "error",
|
|
190
|
-
"
|
|
196
|
+
"useRegexLiterals": "error",
|
|
197
|
+
"useValidAriaRole": "error"
|
|
191
198
|
}
|
|
192
199
|
}
|
|
193
200
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"author": "atheck",
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@typescript-eslint/eslint-plugin": "6.
|
|
21
|
-
"@typescript-eslint/parser": "6.
|
|
20
|
+
"@typescript-eslint/eslint-plugin": "6.13.0",
|
|
21
|
+
"@typescript-eslint/parser": "6.13.0",
|
|
22
22
|
"eslint": "8.54.0",
|
|
23
23
|
"eslint-import-resolver-typescript": "3.6.1",
|
|
24
24
|
"eslint-plugin-deprecation": "2.0.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"typescript": "5.3.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@biomejs/biome": "1.
|
|
36
|
+
"@biomejs/biome": "1.4.0",
|
|
37
37
|
"@testing-library/react": "14.1.2",
|
|
38
38
|
"@types/jest": "29.5.10",
|
|
39
39
|
"@types/react": "18.2.38",
|