eslint-config-heck 8.6.0 → 8.7.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 CHANGED
@@ -152,9 +152,7 @@
152
152
  "noImportCycles": "error",
153
153
  "noJsxLiterals": "error",
154
154
  "noMisusedPromises": "error",
155
- "noNonNullAssertedOptionalChain": "error",
156
155
  "noReactForwardRef": "error",
157
- "noSecrets": "off",
158
156
  "noShadow": "off",
159
157
  "noUnnecessaryConditions": "off",
160
158
  "noUnresolvedImports": "off",
@@ -162,10 +160,8 @@
162
160
  "noUselessCatchBinding": "error",
163
161
  "noUselessUndefined": "error",
164
162
  "useConsistentArrowReturn": "error",
165
- "useConsistentTypeDefinitions": "error",
166
163
  "useExhaustiveSwitchCases": "error",
167
164
  "useExplicitType": "off",
168
- "useReactFunctionComponents": "warn",
169
165
  "useSortedClasses": "off"
170
166
  },
171
167
  "performance": {
@@ -186,7 +182,8 @@
186
182
  "noBlankTarget": "error",
187
183
  "noDangerouslySetInnerHtml": "error",
188
184
  "noDangerouslySetInnerHtmlWithChildren": "error",
189
- "noGlobalEval": "error"
185
+ "noGlobalEval": "error",
186
+ "noSecrets": "off"
190
187
  },
191
188
  "style": {
192
189
  "noCommonJs": "error",
@@ -235,6 +232,7 @@
235
232
  "syntax": "shorthand"
236
233
  }
237
234
  },
235
+ "useConsistentTypeDefinitions": "error",
238
236
  "useConst": "error",
239
237
  "useDefaultParameterLast": "error",
240
238
  "useDefaultSwitchClause": "off",
@@ -281,6 +279,7 @@
281
279
  "useNumberNamespace": "error",
282
280
  "useNumericSeparators": "error",
283
281
  "useObjectSpread": "error",
282
+ "useReactFunctionComponents": "warn",
284
283
  "useReadonlyClassProperties": "error",
285
284
  "useSelfClosingElements": "error",
286
285
  "useShorthandAssign": "error",
@@ -342,6 +341,7 @@
342
341
  "noMisleadingInstantiator": "error",
343
342
  "noMisplacedAssertion": "error",
344
343
  "noMisrefactoredShorthandAssign": "error",
344
+ "noNonNullAssertedOptionalChain": "error",
345
345
  "noOctalEscape": "error",
346
346
  "noPrototypeBuiltins": "error",
347
347
  "noReactSpecificProps": "off",
package/node.js CHANGED
@@ -666,6 +666,7 @@ export default [
666
666
  "unicorn/no-empty-file": "error",
667
667
  "unicorn/no-for-loop": "error",
668
668
  "unicorn/no-hex-escape": "error",
669
+ "unicorn/no-immediate-mutation": "error",
669
670
  "unicorn/no-instanceof-array": "error",
670
671
  "unicorn/no-instanceof-builtins": "error",
671
672
  "unicorn/no-invalid-fetch-options": "error",
@@ -693,6 +694,7 @@ export default [
693
694
  "unicorn/no-unreadable-array-destructuring": "error",
694
695
  "unicorn/no-unreadable-iife": "error",
695
696
  "unicorn/no-unused-properties": "error",
697
+ "unicorn/no-useless-collection-argument": "error",
696
698
  "unicorn/no-useless-error-capture-stack-trace": "error",
697
699
  "unicorn/no-useless-fallback-in-spread": "error",
698
700
  "unicorn/no-useless-length-check": "error",
@@ -744,6 +746,7 @@ export default [
744
746
  "unicorn/prefer-query-selector": "off",
745
747
  "unicorn/prefer-reflect-apply": "error",
746
748
  "unicorn/prefer-regexp-test": "error",
749
+ "unicorn/prefer-response-static-json": "error",
747
750
  "unicorn/prefer-set-has": "error",
748
751
  "unicorn/prefer-set-size": "error",
749
752
  "unicorn/prefer-single-call": "error",
package/nodeWithBiome.js CHANGED
@@ -570,6 +570,7 @@ export default [
570
570
  "unicorn/no-empty-file": "error",
571
571
  "unicorn/no-for-loop": "error",
572
572
  "unicorn/no-hex-escape": "error",
573
+ "unicorn/no-immediate-mutation": "error",
573
574
  "unicorn/no-instanceof-array": "off",
574
575
  "unicorn/no-instanceof-builtins": "error",
575
576
  "unicorn/no-invalid-fetch-options": "error",
@@ -597,6 +598,7 @@ export default [
597
598
  "unicorn/no-unreadable-array-destructuring": "error",
598
599
  "unicorn/no-unreadable-iife": "error",
599
600
  "unicorn/no-unused-properties": "error",
601
+ "unicorn/no-useless-collection-argument": "error",
600
602
  "unicorn/no-useless-error-capture-stack-trace": "error",
601
603
  "unicorn/no-useless-fallback-in-spread": "error",
602
604
  "unicorn/no-useless-length-check": "error",
@@ -648,6 +650,7 @@ export default [
648
650
  "unicorn/prefer-query-selector": "off",
649
651
  "unicorn/prefer-reflect-apply": "error",
650
652
  "unicorn/prefer-regexp-test": "error",
653
+ "unicorn/prefer-response-static-json": "error",
651
654
  "unicorn/prefer-set-has": "error",
652
655
  "unicorn/prefer-set-size": "error",
653
656
  "unicorn/prefer-single-call": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-heck",
3
- "version": "8.6.0",
3
+ "version": "8.7.0",
4
4
  "description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -35,14 +35,14 @@
35
35
  "eslint-plugin-import": "2.32.0",
36
36
  "eslint-plugin-jest": "29.0.1",
37
37
  "eslint-plugin-react": "7.37.5",
38
- "eslint-plugin-react-hooks": "7.0.0",
38
+ "eslint-plugin-react-hooks": "7.0.1",
39
39
  "eslint-plugin-react-native": "5.0.0",
40
40
  "eslint-plugin-testing-library": "7.13.3",
41
- "eslint-plugin-unicorn": "61.0.2",
41
+ "eslint-plugin-unicorn": "62.0.0",
42
42
  "typescript": "5.9.3"
43
43
  },
44
44
  "devDependencies": {
45
- "@biomejs/biome": "2.2.7",
45
+ "@biomejs/biome": "2.3.0",
46
46
  "@testing-library/dom": "10.4.1",
47
47
  "@testing-library/react": "16.3.0",
48
48
  "@types/jest": "30.0.0",