eslint-config-heck 7.2.1 → 7.3.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/biomeJsTs.json +7 -2
- package/node.js +1 -0
- package/nodeWithBiome.js +4 -8
- package/package.json +2 -2
package/biomeJsTs.json
CHANGED
|
@@ -141,10 +141,11 @@
|
|
|
141
141
|
"noGlobalDirnameFilename": "warn",
|
|
142
142
|
"noImplicitCoercion": "error",
|
|
143
143
|
"noImportCycles": "error",
|
|
144
|
-
"noNestedComponentDefinitions": "error",
|
|
145
|
-
"noNoninteractiveElementInteractions": "error",
|
|
146
144
|
"noMagicNumbers": "off",
|
|
147
145
|
"noMisusedPromises": "error",
|
|
146
|
+
"noNestedComponentDefinitions": "error",
|
|
147
|
+
"noNoninteractiveElementInteractions": "error",
|
|
148
|
+
"noNonNullAssertedOptionalChain": "error",
|
|
148
149
|
"noProcessGlobal": "error",
|
|
149
150
|
"noReactPropAssign": "error",
|
|
150
151
|
"noRestrictedElements": "off",
|
|
@@ -152,12 +153,14 @@
|
|
|
152
153
|
"noShadow": "off",
|
|
153
154
|
"noTsIgnore": "error",
|
|
154
155
|
"noUnassignedVariables": "error",
|
|
156
|
+
"noUnnecessaryConditions": "error",
|
|
155
157
|
"noUnresolvedImports": "off",
|
|
156
158
|
"noUnwantedPolyfillio": "off",
|
|
157
159
|
"noUselessBackrefInRegex": "error",
|
|
158
160
|
"noUselessEscapeInString": "error",
|
|
159
161
|
"noUselessUndefined": "error",
|
|
160
162
|
"useAdjacentGetterSetter": "error",
|
|
163
|
+
"useAnchorHref": "error",
|
|
161
164
|
"useConsistentObjectDefinition": {
|
|
162
165
|
"level": "error",
|
|
163
166
|
"options": {
|
|
@@ -165,11 +168,13 @@
|
|
|
165
168
|
}
|
|
166
169
|
},
|
|
167
170
|
"useConsistentResponse": "error",
|
|
171
|
+
"useConsistentTypeDefinitions": "error",
|
|
168
172
|
"useExhaustiveSwitchCases": "error",
|
|
169
173
|
"useExplicitType": "off",
|
|
170
174
|
"useExportsLast": "error",
|
|
171
175
|
"useForComponent": "off",
|
|
172
176
|
"useGoogleFontPreconnect": "error",
|
|
177
|
+
"useImageSize": "error",
|
|
173
178
|
"useIndexOf": "error",
|
|
174
179
|
"useIterableCallbackReturn": "off",
|
|
175
180
|
"useJsonImportAttribute": "error",
|
package/node.js
CHANGED
package/nodeWithBiome.js
CHANGED
|
@@ -751,7 +751,7 @@ export default [
|
|
|
751
751
|
"@typescript-eslint/consistent-generic-constructors": "error",
|
|
752
752
|
"@typescript-eslint/consistent-indexed-object-style": "error",
|
|
753
753
|
"@typescript-eslint/consistent-type-assertions": "error",
|
|
754
|
-
"@typescript-eslint/consistent-type-definitions":
|
|
754
|
+
"@typescript-eslint/consistent-type-definitions": "off",
|
|
755
755
|
"@typescript-eslint/consistent-type-exports": "off",
|
|
756
756
|
"@typescript-eslint/consistent-type-imports": "off",
|
|
757
757
|
"default-param-last": "off",
|
|
@@ -815,7 +815,7 @@ export default [
|
|
|
815
815
|
"@typescript-eslint/no-mixed-enums": "off",
|
|
816
816
|
"@typescript-eslint/no-namespace": "off",
|
|
817
817
|
"@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error",
|
|
818
|
-
"@typescript-eslint/no-non-null-asserted-optional-chain": "
|
|
818
|
+
"@typescript-eslint/no-non-null-asserted-optional-chain": "off",
|
|
819
819
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
820
820
|
"no-redeclare": "off",
|
|
821
821
|
"@typescript-eslint/no-redeclare": "off",
|
|
@@ -829,12 +829,7 @@ export default [
|
|
|
829
829
|
"@typescript-eslint/no-this-alias": "off",
|
|
830
830
|
"@typescript-eslint/no-type-alias": "off",
|
|
831
831
|
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
|
|
832
|
-
"@typescript-eslint/no-unnecessary-condition":
|
|
833
|
-
"error",
|
|
834
|
-
{
|
|
835
|
-
checkTypePredicates: true,
|
|
836
|
-
},
|
|
837
|
-
],
|
|
832
|
+
"@typescript-eslint/no-unnecessary-condition": "off",
|
|
838
833
|
"@typescript-eslint/no-unnecessary-parameter-property-assignment":
|
|
839
834
|
"error",
|
|
840
835
|
"@typescript-eslint/no-unnecessary-qualifier": "error",
|
|
@@ -896,6 +891,7 @@ export default [
|
|
|
896
891
|
"error",
|
|
897
892
|
{
|
|
898
893
|
ignoreMixedLogicalExpressions: true,
|
|
894
|
+
ignorePrimitives: true,
|
|
899
895
|
},
|
|
900
896
|
],
|
|
901
897
|
"@typescript-eslint/prefer-optional-chain": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-heck",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.0",
|
|
4
4
|
"description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"typescript": "5.9.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@biomejs/biome": "2.1.
|
|
45
|
+
"@biomejs/biome": "2.1.4",
|
|
46
46
|
"@testing-library/dom": "10.4.1",
|
|
47
47
|
"@testing-library/react": "16.3.0",
|
|
48
48
|
"@types/jest": "30.0.0",
|