eslint-config-heck 2.6.0 → 2.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/biomeLinting.json CHANGED
@@ -39,6 +39,7 @@
39
39
  "noBannedTypes": "error",
40
40
  "noEmptyTypeParameters": "error",
41
41
  "noExcessiveCognitiveComplexity": "warn",
42
+ "noExcessiveNestedTestSuites": "error",
42
43
  "noExtraBooleanCast": "error",
43
44
  "noForEach": "error",
44
45
  "noMultipleSpacesInRegularExpressionLiterals": "error",
@@ -52,6 +53,7 @@
52
53
  "noUselessLoneBlockStatements": "error",
53
54
  "noUselessRename": "error",
54
55
  "noUselessSwitchCase": "error",
56
+ "noUselessTernary": "error",
55
57
  "noUselessThisAlias": "error",
56
58
  "noUselessTypeConstraint": "error",
57
59
  "noVoid": "error",
@@ -99,12 +101,15 @@
99
101
  "useExhaustiveDependencies": "error",
100
102
  "useHookAtTopLevel": "error",
101
103
  "useIsNan": "error",
104
+ "useJsxKeyInIterable": "error",
102
105
  "useValidForDirection": "error",
103
106
  "useYield": "error"
104
107
  },
105
108
  "performance": {
106
109
  "noAccumulatingSpread": "error",
107
- "noDelete": "error"
110
+ "noBarrelFile": "error",
111
+ "noDelete": "error",
112
+ "noReExportAll": "error"
108
113
  },
109
114
  "security": {
110
115
  "noDangerouslySetInnerHtml": "error",
@@ -118,6 +123,7 @@
118
123
  "noImplicitBoolean": "off",
119
124
  "noInferrableTypes": "error",
120
125
  "noNamespace": "error",
126
+ "noNamespaceImport": "error",
121
127
  "noNegationElse": "error",
122
128
  "noNonNullAssertion": "error",
123
129
  "noParameterAssign": "error",
@@ -151,6 +157,7 @@
151
157
  "useImportType": "error",
152
158
  "useLiteralEnumMembers": "error",
153
159
  "useNamingConvention": "off",
160
+ "useNodeAssertStrict": "error",
154
161
  "useNodejsImportProtocol": "error",
155
162
  "useNumberNamespace": "error",
156
163
  "useNumericLiterals": "error",
@@ -184,11 +191,14 @@
184
191
  "noDuplicateJsxProps": "error",
185
192
  "noDuplicateObjectKeys": "error",
186
193
  "noDuplicateParameters": "error",
194
+ "noDuplicateTestHooks": "error",
187
195
  "noEmptyBlockStatements": "error",
188
196
  "noEmptyInterface": "off",
189
197
  "noExplicitAny": "error",
198
+ "noExportsInTest": "error",
190
199
  "noExtraNonNullAssertion": "error",
191
200
  "noFallthroughSwitchClause": "error",
201
+ "noFocusedTests": "warn",
192
202
  "noFunctionAssign": "error",
193
203
  "noGlobalAssign": "error",
194
204
  "noGlobalIsFinite": "error",
@@ -204,7 +214,9 @@
204
214
  "noRedundantUseStrict": "error",
205
215
  "noSelfCompare": "error",
206
216
  "noShadowRestrictedNames": "error",
217
+ "noSkippedTests": "warn",
207
218
  "noSparseArray": "error",
219
+ "noSuspiciousSemicolonInJsx": "error",
208
220
  "noThenProperty": "error",
209
221
  "noUnsafeDeclarationMerging": "error",
210
222
  "noUnsafeNegation": "error",
@@ -216,24 +228,18 @@
216
228
  "useValidTypeof": "error"
217
229
  },
218
230
  "nursery": {
219
- "noBarrelFile": "error",
220
231
  "noConsole": "error",
232
+ "noConstantMathMinMaxClamp": "error",
233
+ "noDoneCallback": "error",
234
+ "noDuplicateElseIf": "error",
221
235
  "noDuplicateJsonKeys": "error",
222
- "noDuplicateTestHooks": "error",
223
- "noExcessiveNestedTestSuites": "error",
224
- "noExportsInTest": "error",
225
- "noFocusedTests": "warn",
226
- "noNamespaceImport": "error",
236
+ "noEvolvingAny": "error",
237
+ "noFlatMapIdentity": "error",
238
+ "noMisplacedAssertion": "error",
227
239
  "noNodejsModules": "off",
228
- "noReExportAll": "error",
229
240
  "noRestrictedImports": "off",
230
- "noSemicolonInJsx": "error",
231
- "noSkippedTests": "warn",
232
241
  "noUndeclaredDependencies": "off",
233
- "noUselessTernary": "error",
234
242
  "useImportRestrictions": "error",
235
- "useJsxKeyInIterable": "error",
236
- "useNodeAssertStrict": "error",
237
243
  "useSortedClasses": "off"
238
244
  }
239
245
  }
package/node.cjs CHANGED
@@ -1450,6 +1450,7 @@ const overrides = [
1450
1450
  "jest/prefer-expect-assertions": "off",
1451
1451
  "jest/prefer-expect-resolves": "error",
1452
1452
  "jest/prefer-hooks-on-top": "error",
1453
+ "jest/prefer-importing-jest-globals": "off",
1453
1454
  "jest/prefer-lowercase-title": [
1454
1455
  "error",
1455
1456
  {
package/nodeWithBiome.cjs CHANGED
@@ -41,7 +41,7 @@ const rules = {
41
41
  "no-control-regex": "off",
42
42
  "no-debugger": "off",
43
43
  "no-dupe-args": "off",
44
- "no-dupe-else-if": "error",
44
+ "no-dupe-else-if": "off",
45
45
  "no-dupe-keys": "off",
46
46
  "no-duplicate-case": "off",
47
47
  "no-empty": "off",
@@ -1200,7 +1200,7 @@ const overrides = [
1200
1200
  "jest/no-confusing-set-timeout": "error",
1201
1201
  "jest/no-deprecated-functions": "error",
1202
1202
  "jest/no-disabled-tests": "off",
1203
- "jest/no-done-callback": "error",
1203
+ "jest/no-done-callback": "off",
1204
1204
  "jest/no-duplicate-hooks": "off",
1205
1205
  "jest/no-export": "off",
1206
1206
  "jest/no-focused-tests": "off",
@@ -1211,7 +1211,7 @@ const overrides = [
1211
1211
  "jest/no-large-snapshots": "off",
1212
1212
  "jest/no-mocks-import": "error",
1213
1213
  "jest/no-restricted-matchers": "off",
1214
- "jest/no-standalone-expect": "error",
1214
+ "jest/no-standalone-expect": "off",
1215
1215
  "jest/no-test-prefixes": "error",
1216
1216
  "jest/no-test-return-statement": "error",
1217
1217
  "jest/prefer-called-with": "error",
@@ -1221,6 +1221,7 @@ const overrides = [
1221
1221
  "jest/prefer-expect-assertions": "off",
1222
1222
  "jest/prefer-expect-resolves": "error",
1223
1223
  "jest/prefer-hooks-on-top": "error",
1224
+ "jest/prefer-importing-jest-globals": "off",
1224
1225
  "jest/prefer-lowercase-title": [
1225
1226
  "error",
1226
1227
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-heck",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -29,29 +29,29 @@
29
29
  "author": "atheck",
30
30
  "license": "MIT",
31
31
  "dependencies": {
32
- "@typescript-eslint/eslint-plugin": "7.5.0",
33
- "@typescript-eslint/parser": "7.5.0",
32
+ "@typescript-eslint/eslint-plugin": "7.7.0",
33
+ "@typescript-eslint/parser": "7.7.0",
34
34
  "eslint": "8.57.0",
35
35
  "eslint-import-resolver-typescript": "3.6.1",
36
36
  "eslint-plugin-deprecation": "2.0.0",
37
37
  "eslint-plugin-import": "2.29.1",
38
- "eslint-plugin-jest": "27.9.0",
38
+ "eslint-plugin-jest": "28.2.0",
39
39
  "eslint-plugin-react": "7.34.1",
40
40
  "eslint-plugin-react-hooks": "4.6.0",
41
41
  "eslint-plugin-react-native": "4.1.0",
42
- "eslint-plugin-testing-library": "6.2.0",
42
+ "eslint-plugin-testing-library": "6.2.2",
43
43
  "eslint-plugin-typescript-heck": "1.3.1",
44
44
  "eslint-plugin-unicorn": "52.0.0",
45
- "typescript": "5.4.4"
45
+ "typescript": "5.4.5"
46
46
  },
47
47
  "devDependencies": {
48
- "@biomejs/biome": "1.6.3",
49
- "@testing-library/react": "14.2.2",
48
+ "@biomejs/biome": "1.7.0",
49
+ "@testing-library/react": "15.0.2",
50
50
  "@types/jest": "29.5.12",
51
- "@types/react": "18.2.74",
51
+ "@types/react": "18.2.79",
52
52
  "jest": "29.7.0",
53
53
  "react": "18.2.0",
54
- "semantic-release": "23.0.7"
54
+ "semantic-release": "23.0.8"
55
55
  },
56
56
  "repository": {
57
57
  "type": "git",