eslint-config-heck 2.2.1 → 2.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.
Files changed (3) hide show
  1. package/node.js +17 -14
  2. package/nodeWithBiome.js +17 -14
  3. package/package.json +9 -9
package/node.js CHANGED
@@ -1034,6 +1034,7 @@ const overrides = [
1034
1034
  format: null,
1035
1035
  },
1036
1036
  ],
1037
+ "@typescript-eslint/no-array-delete": "error",
1037
1038
  "@typescript-eslint/no-base-to-string": "error",
1038
1039
  "@typescript-eslint/no-confusing-non-null-assertion": "error",
1039
1040
  "@typescript-eslint/no-confusing-void-expression": "off",
@@ -1236,20 +1237,6 @@ const overrides = [
1236
1237
  "@typescript-eslint/no-use-before-define": "off",
1237
1238
  "no-useless-constructor": "off",
1238
1239
  "@typescript-eslint/no-useless-constructor": "error",
1239
- "prefer-destructuring": "off",
1240
- "@typescript-eslint/prefer-destructuring": [
1241
- "error",
1242
- {
1243
- VariableDeclarator: {
1244
- array: false,
1245
- object: true,
1246
- },
1247
- AssignmentExpression: {
1248
- array: false,
1249
- object: false,
1250
- },
1251
- },
1252
- ],
1253
1240
  "object-curly-spacing": "off",
1254
1241
  "@typescript-eslint/object-curly-spacing": ["error", "always"],
1255
1242
  "padding-line-between-statements": "off",
@@ -1328,6 +1315,22 @@ const overrides = [
1328
1315
  next: "type",
1329
1316
  },
1330
1317
  ],
1318
+ "prefer-destructuring": "off",
1319
+ "@typescript-eslint/prefer-destructuring": [
1320
+ "error",
1321
+ {
1322
+ VariableDeclarator: {
1323
+ array: false,
1324
+ object: true,
1325
+ },
1326
+ AssignmentExpression: {
1327
+ array: false,
1328
+ object: false,
1329
+ },
1330
+ },
1331
+ ],
1332
+ "prefer-promise-reject-errors": "off",
1333
+ "@typescript-eslint/prefer-promise-reject-errors": "error",
1331
1334
  quotes: "off",
1332
1335
  "@typescript-eslint/quotes": ["error", "double", { avoidEscape: true }],
1333
1336
  "require-await": "off",
package/nodeWithBiome.js CHANGED
@@ -858,6 +858,7 @@ const overrides = [
858
858
  format: null,
859
859
  },
860
860
  ],
861
+ "@typescript-eslint/no-array-delete": "off",
861
862
  "@typescript-eslint/no-base-to-string": "error",
862
863
  "@typescript-eslint/no-confusing-non-null-assertion": "error",
863
864
  "@typescript-eslint/no-confusing-void-expression": "off",
@@ -1027,20 +1028,6 @@ const overrides = [
1027
1028
  "@typescript-eslint/no-use-before-define": "off",
1028
1029
  "no-useless-constructor": "off",
1029
1030
  "@typescript-eslint/no-useless-constructor": "off",
1030
- "prefer-destructuring": "off",
1031
- "@typescript-eslint/prefer-destructuring": [
1032
- "error",
1033
- {
1034
- VariableDeclarator: {
1035
- array: false,
1036
- object: true,
1037
- },
1038
- AssignmentExpression: {
1039
- array: false,
1040
- object: false,
1041
- },
1042
- },
1043
- ],
1044
1031
  "object-curly-spacing": "off",
1045
1032
  "@typescript-eslint/object-curly-spacing": "off",
1046
1033
  "padding-line-between-statements": "off",
@@ -1119,6 +1106,22 @@ const overrides = [
1119
1106
  next: "type",
1120
1107
  },
1121
1108
  ],
1109
+ "prefer-destructuring": "off",
1110
+ "@typescript-eslint/prefer-destructuring": [
1111
+ "error",
1112
+ {
1113
+ VariableDeclarator: {
1114
+ array: false,
1115
+ object: true,
1116
+ },
1117
+ AssignmentExpression: {
1118
+ array: false,
1119
+ object: false,
1120
+ },
1121
+ },
1122
+ ],
1123
+ "prefer-promise-reject-errors": "off",
1124
+ "@typescript-eslint/prefer-promise-reject-errors": "error",
1122
1125
  quotes: "off",
1123
1126
  "@typescript-eslint/quotes": "off",
1124
1127
  "require-await": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-heck",
3
- "version": "2.2.1",
3
+ "version": "2.3.0",
4
4
  "description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -17,13 +17,13 @@
17
17
  "author": "atheck",
18
18
  "license": "MIT",
19
19
  "dependencies": {
20
- "@typescript-eslint/eslint-plugin": "6.18.1",
21
- "@typescript-eslint/parser": "6.18.1",
20
+ "@typescript-eslint/eslint-plugin": "6.20.0",
21
+ "@typescript-eslint/parser": "6.20.0",
22
22
  "eslint": "8.56.0",
23
23
  "eslint-import-resolver-typescript": "3.6.1",
24
24
  "eslint-plugin-deprecation": "2.0.0",
25
25
  "eslint-plugin-import": "2.29.1",
26
- "eslint-plugin-jest": "27.6.2",
26
+ "eslint-plugin-jest": "27.6.3",
27
27
  "eslint-plugin-react": "7.33.2",
28
28
  "eslint-plugin-react-hooks": "4.6.0",
29
29
  "eslint-plugin-react-native": "4.1.0",
@@ -33,13 +33,13 @@
33
33
  "typescript": "5.3.3"
34
34
  },
35
35
  "devDependencies": {
36
- "@biomejs/biome": "1.5.1",
37
- "@testing-library/react": "14.1.2",
38
- "@types/jest": "29.5.11",
39
- "@types/react": "18.2.47",
36
+ "@biomejs/biome": "1.5.3",
37
+ "@testing-library/react": "14.2.1",
38
+ "@types/jest": "29.5.12",
39
+ "@types/react": "18.2.53",
40
40
  "jest": "29.7.0",
41
41
  "react": "18.2.0",
42
- "semantic-release": "22.0.12"
42
+ "semantic-release": "23.0.0"
43
43
  },
44
44
  "repository": {
45
45
  "type": "git",