eslint-config-heck 1.44.0 → 1.45.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 (2) hide show
  1. package/node.js +12 -16
  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",
@@ -1065,12 +1063,7 @@ const overrides = [
1065
1063
  "@typescript-eslint/prefer-ts-expect-error": "error",
1066
1064
  "@typescript-eslint/promise-function-async": "error",
1067
1065
  "@typescript-eslint/require-array-sort-compare": "error",
1068
- "@typescript-eslint/restrict-plus-operands": [
1069
- "error",
1070
- {
1071
- checkCompoundAssignments: true,
1072
- },
1073
- ],
1066
+ "@typescript-eslint/restrict-plus-operands": "error",
1074
1067
  "@typescript-eslint/restrict-template-expressions": "off",
1075
1068
  "@typescript-eslint/sort-type-union-intersection-members": "off",
1076
1069
  "@typescript-eslint/strict-boolean-expressions": "off",
@@ -1091,6 +1084,8 @@ const overrides = [
1091
1084
  "@typescript-eslint/block-spacing": "error",
1092
1085
  "brace-style": "off",
1093
1086
  "@typescript-eslint/brace-style": "error",
1087
+ "class-methods-use-this": "off",
1088
+ "@typescript-eslint/class-methods-use-this": "error",
1094
1089
  "comma-dangle": "off",
1095
1090
  "@typescript-eslint/comma-dangle": ["error", "always-multiline"],
1096
1091
  "comma-spacing": "off",
@@ -1207,7 +1202,6 @@ const overrides = [
1207
1202
  "@typescript-eslint/quotes": ["error", "double", { avoidEscape: true }],
1208
1203
  "require-await": "off",
1209
1204
  "@typescript-eslint/require-await": "off",
1210
- "no-return-await": "off",
1211
1205
  "@typescript-eslint/return-await": "off",
1212
1206
  semi: "off",
1213
1207
  "@typescript-eslint/semi": [
@@ -1227,24 +1221,26 @@ const overrides = [
1227
1221
 
1228
1222
  // Typescript handles itself
1229
1223
  "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
1224
  "constructor-super": "off",
1225
+ "getter-return": "off",
1236
1226
  "no-class-assign": "off",
1237
1227
  "no-const-assign": "off",
1238
- "no-new-symbol": "off",
1239
- "getter-return": "off",
1228
+ "no-delete-var": "off",
1240
1229
  "no-dupe-args": "off",
1241
1230
  "no-dupe-keys": "off",
1242
1231
  "no-func-assign": "off",
1243
1232
  "no-import-assign": "off",
1233
+ "no-new-symbol": "off",
1234
+ "no-nonoctal-decimal-escape": "off",
1244
1235
  "no-obj-calls": "off",
1236
+ "no-octal-escape": "off",
1245
1237
  "no-setter-return": "off",
1238
+ "no-shadow-restricted-names": "off",
1239
+ "no-undef": "off",
1240
+ "no-undefined": "off",
1246
1241
  "no-unexpected-multiline": "off",
1247
1242
  "no-unsafe-negation": "off",
1243
+ "no-with": "off",
1248
1244
  "valid-typeof": "off",
1249
1245
 
1250
1246
  // 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.0",
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
  },