eslint-config-heck 1.44.0 → 1.45.1

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 (2) hide show
  1. package/node.js +12 -20
  2. package/package.json +11 -11
package/node.js CHANGED
@@ -188,7 +188,6 @@ const rules = {
188
188
  "no-redeclare": "error",
189
189
  "no-restricted-properties": "off",
190
190
  "no-return-assign": ["error", "always"],
191
- "no-return-await": "off",
192
191
  "no-script-url": "error",
193
192
  "no-self-assign": "error",
194
193
  "no-self-compare": "error",
@@ -751,7 +750,6 @@ const rules = {
751
750
  "unicorn/no-unnecessary-await": "error",
752
751
  "unicorn/no-unreadable-array-destructuring": "error",
753
752
  "unicorn/no-unreadable-iife": "error",
754
- "unicorn/no-unsafe-regex": "off",
755
753
  "unicorn/no-unused-properties": "error",
756
754
  "unicorn/no-useless-fallback-in-spread": "error",
757
755
  "unicorn/no-useless-length-check": "error",
@@ -1005,7 +1003,6 @@ const overrides = [
1005
1003
  },
1006
1004
  ],
1007
1005
  "@typescript-eslint/no-for-in-array": "error",
1008
- "@typescript-eslint/no-implicit-any-catch": "error",
1009
1006
  "@typescript-eslint/no-import-type-side-effects": "off",
1010
1007
  "@typescript-eslint/no-inferrable-types": "error",
1011
1008
  "@typescript-eslint/no-invalid-void-type": [
@@ -1065,14 +1062,8 @@ const overrides = [
1065
1062
  "@typescript-eslint/prefer-ts-expect-error": "error",
1066
1063
  "@typescript-eslint/promise-function-async": "error",
1067
1064
  "@typescript-eslint/require-array-sort-compare": "error",
1068
- "@typescript-eslint/restrict-plus-operands": [
1069
- "error",
1070
- {
1071
- checkCompoundAssignments: true,
1072
- },
1073
- ],
1065
+ "@typescript-eslint/restrict-plus-operands": "error",
1074
1066
  "@typescript-eslint/restrict-template-expressions": "off",
1075
- "@typescript-eslint/sort-type-union-intersection-members": "off",
1076
1067
  "@typescript-eslint/strict-boolean-expressions": "off",
1077
1068
  "@typescript-eslint/switch-exhaustiveness-check": "error",
1078
1069
  "@typescript-eslint/triple-slash-reference": "error",
@@ -1091,6 +1082,8 @@ const overrides = [
1091
1082
  "@typescript-eslint/block-spacing": "error",
1092
1083
  "brace-style": "off",
1093
1084
  "@typescript-eslint/brace-style": "error",
1085
+ "class-methods-use-this": "off",
1086
+ "@typescript-eslint/class-methods-use-this": "error",
1094
1087
  "comma-dangle": "off",
1095
1088
  "@typescript-eslint/comma-dangle": ["error", "always-multiline"],
1096
1089
  "comma-spacing": "off",
@@ -1128,8 +1121,6 @@ const overrides = [
1128
1121
  "@typescript-eslint/no-array-constructor": "error",
1129
1122
  "no-dupe-class-members": "off",
1130
1123
  "@typescript-eslint/no-dupe-class-members": "off",
1131
- "no-duplicate-imports": "off",
1132
- "@typescript-eslint/no-duplicate-imports": "off",
1133
1124
  "no-empty-function": "off",
1134
1125
  "@typescript-eslint/no-empty-function": "error",
1135
1126
  "no-extra-parens": "off",
@@ -1207,7 +1198,6 @@ const overrides = [
1207
1198
  "@typescript-eslint/quotes": ["error", "double", { avoidEscape: true }],
1208
1199
  "require-await": "off",
1209
1200
  "@typescript-eslint/require-await": "off",
1210
- "no-return-await": "off",
1211
1201
  "@typescript-eslint/return-await": "off",
1212
1202
  semi: "off",
1213
1203
  "@typescript-eslint/semi": [
@@ -1227,24 +1217,26 @@ const overrides = [
1227
1217
 
1228
1218
  // Typescript handles itself
1229
1219
  "consistent-return": "off",
1230
- "no-shadow-restricted-names": "off",
1231
- "no-undefined": "off",
1232
- "no-undef": "off",
1233
- "no-delete-var": "off",
1234
- "no-with": "off",
1235
1220
  "constructor-super": "off",
1221
+ "getter-return": "off",
1236
1222
  "no-class-assign": "off",
1237
1223
  "no-const-assign": "off",
1238
- "no-new-symbol": "off",
1239
- "getter-return": "off",
1224
+ "no-delete-var": "off",
1240
1225
  "no-dupe-args": "off",
1241
1226
  "no-dupe-keys": "off",
1242
1227
  "no-func-assign": "off",
1243
1228
  "no-import-assign": "off",
1229
+ "no-new-symbol": "off",
1230
+ "no-nonoctal-decimal-escape": "off",
1244
1231
  "no-obj-calls": "off",
1232
+ "no-octal-escape": "off",
1245
1233
  "no-setter-return": "off",
1234
+ "no-shadow-restricted-names": "off",
1235
+ "no-undef": "off",
1236
+ "no-undefined": "off",
1246
1237
  "no-unexpected-multiline": "off",
1247
1238
  "no-unsafe-negation": "off",
1239
+ "no-with": "off",
1248
1240
  "valid-typeof": "off",
1249
1241
 
1250
1242
  // typescript-heck
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-heck",
3
- "version": "1.44.0",
3
+ "version": "1.45.1",
4
4
  "description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -17,26 +17,26 @@
17
17
  "author": "atheck",
18
18
  "license": "MIT",
19
19
  "dependencies": {
20
- "@typescript-eslint/eslint-plugin": "5.61.0",
21
- "@typescript-eslint/parser": "5.61.0",
22
- "eslint": "8.44.0",
20
+ "@typescript-eslint/eslint-plugin": "6.2.1",
21
+ "@typescript-eslint/parser": "6.2.1",
22
+ "eslint": "8.46.0",
23
23
  "eslint-import-resolver-typescript": "3.5.5",
24
- "eslint-plugin-deprecation": "1.4.1",
25
- "eslint-plugin-import": "2.27.5",
26
- "eslint-plugin-jest": "27.2.2",
27
- "eslint-plugin-react": "7.32.2",
24
+ "eslint-plugin-deprecation": "1.5.0",
25
+ "eslint-plugin-import": "2.28.0",
26
+ "eslint-plugin-jest": "27.2.3",
27
+ "eslint-plugin-react": "7.33.1",
28
28
  "eslint-plugin-react-hooks": "4.6.0",
29
29
  "eslint-plugin-react-native": "4.0.0",
30
30
  "eslint-plugin-testing-library": "5.11.0",
31
31
  "eslint-plugin-typescript-heck": "1.3.1",
32
- "eslint-plugin-unicorn": "47.0.0",
32
+ "eslint-plugin-unicorn": "48.0.1",
33
33
  "typescript": "5.1.6"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@testing-library/react": "14.0.0",
37
37
  "@types/jest": "29.5.3",
38
- "@types/react": "18.2.14",
39
- "jest": "29.6.1",
38
+ "@types/react": "18.2.18",
39
+ "jest": "29.6.2",
40
40
  "react": "18.2.0",
41
41
  "semantic-release": "21.0.7"
42
42
  },