eslint-config-heck 2.11.1 → 2.12.0
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 -2
- package/node.cjs +1 -1
- package/nodeWithBiome.cjs +5 -36
- package/package.json +1 -1
package/biomeLinting.json
CHANGED
|
@@ -160,7 +160,24 @@
|
|
|
160
160
|
"useFragmentSyntax": "off",
|
|
161
161
|
"useImportType": "error",
|
|
162
162
|
"useLiteralEnumMembers": "error",
|
|
163
|
-
"useNamingConvention":
|
|
163
|
+
"useNamingConvention": {
|
|
164
|
+
"level": "error",
|
|
165
|
+
"options": {
|
|
166
|
+
"strictCase": true,
|
|
167
|
+
"requireAscii": true,
|
|
168
|
+
"conventions": [
|
|
169
|
+
{
|
|
170
|
+
"selector": {
|
|
171
|
+
"kind": "typeParameter"
|
|
172
|
+
},
|
|
173
|
+
"match": "^T(.+)",
|
|
174
|
+
"formats": [
|
|
175
|
+
"PascalCase"
|
|
176
|
+
]
|
|
177
|
+
}
|
|
178
|
+
]
|
|
179
|
+
}
|
|
180
|
+
},
|
|
164
181
|
"useNodeAssertStrict": "error",
|
|
165
182
|
"useNodejsImportProtocol": "error",
|
|
166
183
|
"useNumberNamespace": "error",
|
|
@@ -253,7 +270,7 @@
|
|
|
253
270
|
"useErrorMessage": "error",
|
|
254
271
|
"useExplicitLengthCheck": "error",
|
|
255
272
|
"useFocusableInteractive": "error",
|
|
256
|
-
"useImportExtensions": "
|
|
273
|
+
"useImportExtensions": "off",
|
|
257
274
|
"useImportRestrictions": "error",
|
|
258
275
|
"useNumberToFixedDigitsArgument": "error",
|
|
259
276
|
"useSemanticElements": "error",
|
package/node.cjs
CHANGED
|
@@ -261,7 +261,7 @@ const rules = {
|
|
|
261
261
|
"array-element-newline": ["error", "consistent"],
|
|
262
262
|
"block-spacing": "error",
|
|
263
263
|
"brace-style": "error",
|
|
264
|
-
camelcase: "
|
|
264
|
+
camelcase: "off",
|
|
265
265
|
"capitalized-comments": "off",
|
|
266
266
|
"comma-dangle": ["error", "always-multiline"],
|
|
267
267
|
"comma-spacing": "error",
|
package/nodeWithBiome.cjs
CHANGED
|
@@ -121,7 +121,7 @@ const rules = {
|
|
|
121
121
|
"no-constructor-return": "off",
|
|
122
122
|
"no-div-regex": "off",
|
|
123
123
|
"no-else-return": "off",
|
|
124
|
-
"no-empty-function": "
|
|
124
|
+
"no-empty-function": "off",
|
|
125
125
|
"no-empty-pattern": "off",
|
|
126
126
|
"no-empty-static-block": "off",
|
|
127
127
|
"no-eq-null": "off",
|
|
@@ -138,7 +138,7 @@ const rules = {
|
|
|
138
138
|
"no-invalid-this": "error",
|
|
139
139
|
"no-iterator": "error",
|
|
140
140
|
"no-labels": "error",
|
|
141
|
-
"no-lone-blocks": "
|
|
141
|
+
"no-lone-blocks": "off",
|
|
142
142
|
"no-loop-func": "error",
|
|
143
143
|
"no-magic-numbers": "off",
|
|
144
144
|
"no-multi-spaces": "off",
|
|
@@ -202,7 +202,7 @@ const rules = {
|
|
|
202
202
|
"array-element-newline": "off",
|
|
203
203
|
"block-spacing": "off",
|
|
204
204
|
"brace-style": "off",
|
|
205
|
-
camelcase: "
|
|
205
|
+
camelcase: "off",
|
|
206
206
|
"capitalized-comments": "off",
|
|
207
207
|
"comma-dangle": "off",
|
|
208
208
|
"comma-spacing": "off",
|
|
@@ -817,38 +817,7 @@ const overrides = [
|
|
|
817
817
|
"@typescript-eslint/member-delimiter-style": "off",
|
|
818
818
|
"@typescript-eslint/member-ordering": "off",
|
|
819
819
|
"@typescript-eslint/method-signature-style": "error",
|
|
820
|
-
|
|
821
|
-
"@typescript-eslint/naming-convention": [
|
|
822
|
-
"error",
|
|
823
|
-
{
|
|
824
|
-
selector: ["variableLike", "memberLike"],
|
|
825
|
-
format: ["strictCamelCase", "StrictPascalCase"],
|
|
826
|
-
filter: {
|
|
827
|
-
regex: "^__html$",
|
|
828
|
-
match: false,
|
|
829
|
-
},
|
|
830
|
-
},
|
|
831
|
-
{
|
|
832
|
-
selector: ["parameter"],
|
|
833
|
-
modifiers: ["unused"],
|
|
834
|
-
format: ["strictCamelCase"],
|
|
835
|
-
leadingUnderscore: "require",
|
|
836
|
-
},
|
|
837
|
-
{
|
|
838
|
-
selector: ["typeLike"],
|
|
839
|
-
format: ["StrictPascalCase"],
|
|
840
|
-
},
|
|
841
|
-
{
|
|
842
|
-
selector: ["typeParameter"],
|
|
843
|
-
format: ["StrictPascalCase"],
|
|
844
|
-
prefix: ["T"],
|
|
845
|
-
},
|
|
846
|
-
{
|
|
847
|
-
selector: "variable",
|
|
848
|
-
modifiers: ["destructured"],
|
|
849
|
-
format: null,
|
|
850
|
-
},
|
|
851
|
-
],
|
|
820
|
+
"@typescript-eslint/naming-convention": "off",
|
|
852
821
|
"@typescript-eslint/no-array-delete": "off",
|
|
853
822
|
"@typescript-eslint/no-base-to-string": "error",
|
|
854
823
|
"@typescript-eslint/no-confusing-non-null-assertion": "error",
|
|
@@ -984,7 +953,7 @@ const overrides = [
|
|
|
984
953
|
"no-dupe-class-members": "off",
|
|
985
954
|
"@typescript-eslint/no-dupe-class-members": "off",
|
|
986
955
|
"no-empty-function": "off",
|
|
987
|
-
"@typescript-eslint/no-empty-function": "
|
|
956
|
+
"@typescript-eslint/no-empty-function": "off",
|
|
988
957
|
"no-extra-parens": "off",
|
|
989
958
|
"@typescript-eslint/no-extra-parens": "off",
|
|
990
959
|
"no-extra-semi": "off",
|