eslint-config-heck 9.3.1 → 9.4.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
@@ -167,6 +167,7 @@
167
167
  "noInlineStyles": "warn",
168
168
  "noJsxPropsBind": "off",
169
169
  "noLeakedRender": "error",
170
+ "noMisleadingReturnType": "info",
170
171
  "noMisusedPromises": "error",
171
172
  "noMultiAssign": "error",
172
173
  "noMultiStr": "error",
@@ -194,12 +195,21 @@
194
195
  "noUnnecessaryConditions": "off",
195
196
  "noUnsafePlusOperands": "error",
196
197
  "noUselessReturn": "error",
198
+ "noUselessTypeConversion": "error",
197
199
  "useArraySome": "error",
198
200
  "useArraySortCompare": "error",
199
201
  "useAwaitThenable": "off",
200
202
  "useConsistentEnumValueType": "error",
201
203
  "useConsistentMethodSignatures": "error",
204
+ "useConsistentTestIt": {
205
+ "level": "error",
206
+ "options": {
207
+ "function": "it",
208
+ "withinDescribe": "it"
209
+ }
210
+ },
202
211
  "useDestructuring": "off",
212
+ "useDisposables": "error",
203
213
  "useErrorCause": {
204
214
  "level": "error",
205
215
  "options": {
@@ -208,6 +218,13 @@
208
218
  },
209
219
  "useExhaustiveSwitchCases": "error",
210
220
  "useExpect": "error",
221
+ "useExplicitReturnType": {
222
+ "level": "error",
223
+ "options": {
224
+ "allowExpressions": true,
225
+ "allowIifes": true
226
+ }
227
+ },
211
228
  "useExplicitType": "off",
212
229
  "useFind": "off",
213
230
  "useGlobalThis": "off",
package/nodeWithBiome.js CHANGED
@@ -760,16 +760,7 @@ export default [
760
760
  "@typescript-eslint/default-param-last": "off",
761
761
  "dot-notation": "off",
762
762
  "@typescript-eslint/dot-notation": "off",
763
- "@typescript-eslint/explicit-function-return-type": [
764
- "error",
765
- {
766
- allowExpressions: true,
767
- allowTypedFunctionExpressions: true,
768
- allowHigherOrderFunctions: true,
769
- allowDirectConstAssertionInArrowFunctions: true,
770
- allowConciseArrowFunctionExpressionsStartingWithVoid: false,
771
- },
772
- ],
763
+ "@typescript-eslint/explicit-function-return-type": "off",
773
764
  "@typescript-eslint/explicit-member-accessibility": "off",
774
765
  "@typescript-eslint/explicit-module-boundary-types": "off",
775
766
  "init-declarations": "off",
@@ -843,7 +834,7 @@ export default [
843
834
  "@typescript-eslint/no-unnecessary-type-arguments": "error",
844
835
  "@typescript-eslint/no-unnecessary-type-assertion": "error",
845
836
  "@typescript-eslint/no-unnecessary-type-constraint": "off",
846
- "@typescript-eslint/no-unnecessary-type-conversion": "error",
837
+ "@typescript-eslint/no-unnecessary-type-conversion": "off",
847
838
  "@typescript-eslint/no-unnecessary-type-parameters": "error",
848
839
  "@typescript-eslint/no-unsafe-argument": "error",
849
840
  "@typescript-eslint/no-unsafe-assignment": "error",
@@ -972,7 +963,7 @@ export default [
972
963
  },
973
964
  rules: {
974
965
  // eslint-plugin-jest
975
- "jest/consistent-test-it": "error",
966
+ "jest/consistent-test-it": "off",
976
967
  "jest/expect-expect": "off",
977
968
  "jest/max-expects": "off",
978
969
  "jest/max-nested-describe": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-heck",
3
- "version": "9.3.1",
3
+ "version": "9.4.0",
4
4
  "description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -29,27 +29,27 @@
29
29
  "license": "MIT",
30
30
  "dependencies": {
31
31
  "@stylistic/eslint-plugin": "5.10.0",
32
- "@typescript-eslint/eslint-plugin": "8.58.0",
33
- "@typescript-eslint/parser": "8.58.0",
32
+ "@typescript-eslint/eslint-plugin": "8.58.1",
33
+ "@typescript-eslint/parser": "8.58.1",
34
34
  "eslint": "9.39.4",
35
35
  "eslint-plugin-import": "2.32.0",
36
- "eslint-plugin-jest": "29.15.1",
36
+ "eslint-plugin-jest": "29.15.2",
37
37
  "eslint-plugin-react": "7.37.5",
38
38
  "eslint-plugin-react-hooks": "7.0.1",
39
39
  "eslint-plugin-react-native": "5.0.0",
40
40
  "eslint-plugin-testing-library": "7.16.2",
41
41
  "eslint-plugin-unicorn": "64.0.0",
42
- "typescript": "5.9.3"
42
+ "typescript": "6.0.2"
43
43
  },
44
44
  "devDependencies": {
45
- "@biomejs/biome": "2.4.10",
45
+ "@biomejs/biome": "2.4.11",
46
46
  "@testing-library/dom": "10.4.1",
47
47
  "@testing-library/react": "16.3.2",
48
48
  "@types/jest": "30.0.0",
49
49
  "@types/react": "19.2.14",
50
50
  "globals": "17.4.0",
51
51
  "jest": "30.3.0",
52
- "react": "19.2.4",
52
+ "react": "19.2.5",
53
53
  "semantic-release": "25.0.3"
54
54
  },
55
55
  "repository": {