eslint-config-heck 1.45.0 → 1.45.2

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 +7 -5
  2. package/package.json +1 -1
package/node.js CHANGED
@@ -1003,7 +1003,6 @@ const overrides = [
1003
1003
  },
1004
1004
  ],
1005
1005
  "@typescript-eslint/no-for-in-array": "error",
1006
- "@typescript-eslint/no-implicit-any-catch": "error",
1007
1006
  "@typescript-eslint/no-import-type-side-effects": "off",
1008
1007
  "@typescript-eslint/no-inferrable-types": "error",
1009
1008
  "@typescript-eslint/no-invalid-void-type": [
@@ -1047,7 +1046,13 @@ const overrides = [
1047
1046
  "@typescript-eslint/prefer-includes": "error",
1048
1047
  "@typescript-eslint/prefer-literal-enum-member": "error",
1049
1048
  "@typescript-eslint/prefer-namespace-keyword": "off",
1050
- "@typescript-eslint/prefer-nullish-coalescing": "error",
1049
+ "@typescript-eslint/prefer-nullish-coalescing": [
1050
+ "error",
1051
+ {
1052
+ ignoreConditionalTests: true,
1053
+ ignoreMixedLogicalExpressions: true,
1054
+ },
1055
+ ],
1051
1056
  "@typescript-eslint/prefer-optional-chain": "error",
1052
1057
  "@typescript-eslint/prefer-readonly": [
1053
1058
  "error",
@@ -1065,7 +1070,6 @@ const overrides = [
1065
1070
  "@typescript-eslint/require-array-sort-compare": "error",
1066
1071
  "@typescript-eslint/restrict-plus-operands": "error",
1067
1072
  "@typescript-eslint/restrict-template-expressions": "off",
1068
- "@typescript-eslint/sort-type-union-intersection-members": "off",
1069
1073
  "@typescript-eslint/strict-boolean-expressions": "off",
1070
1074
  "@typescript-eslint/switch-exhaustiveness-check": "error",
1071
1075
  "@typescript-eslint/triple-slash-reference": "error",
@@ -1123,8 +1127,6 @@ const overrides = [
1123
1127
  "@typescript-eslint/no-array-constructor": "error",
1124
1128
  "no-dupe-class-members": "off",
1125
1129
  "@typescript-eslint/no-dupe-class-members": "off",
1126
- "no-duplicate-imports": "off",
1127
- "@typescript-eslint/no-duplicate-imports": "off",
1128
1130
  "no-empty-function": "off",
1129
1131
  "@typescript-eslint/no-empty-function": "error",
1130
1132
  "no-extra-parens": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-heck",
3
- "version": "1.45.0",
3
+ "version": "1.45.2",
4
4
  "description": "Contains an ESLint configuration for ES2015+, TypeScript, and React.",
5
5
  "main": "index.js",
6
6
  "scripts": {