@open-turo/eslint-config-typescript 15.0.0-pr-374.338.1.1 → 15.0.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/index.js CHANGED
@@ -109,6 +109,14 @@ module.exports = {
109
109
  "@typescript-eslint/no-deprecated": "off",
110
110
  /** Prefers `import type {}` syntax over `import { type }` if all imports are type-only */
111
111
  "@typescript-eslint/no-import-type-side-effects": "error",
112
+ /** A relatively stylistic rule, downgraded to "off" to limit breaking changes in the update that includes `strict-type-checked`. */
113
+ "@typescript-eslint/no-unnecessary-boolean-literal-compare": "off",
114
+ /** This rule can help us identify syntax that is more defensive than the types suggest. Unfortunately, it may be protecting us from runtime errors where the type definitions are incorrect. As such, it is turned "off", as even "warn" auto-fixes source code. */
115
+ "@typescript-eslint/no-unnecessary-condition": "off",
116
+ /** There is readability benefit to passing in type arguments that match defaults. If defaults change, we may prefer the manual inspection of all the types changed, too. */
117
+ "@typescript-eslint/no-unnecessary-type-arguments": "off",
118
+ /** Errors on generic type parameters that are only used once, even though that helps with return type inference. */
119
+ "@typescript-eslint/no-unnecessary-type-parameters": "off",
112
120
  "@typescript-eslint/no-unused-vars": [
113
121
  "error",
114
122
  {
package/package.json CHANGED
@@ -2,8 +2,8 @@
2
2
  "author": "Turo engineering",
3
3
  "description": "Turo eslint configuration for typescript",
4
4
  "dependencies": {
5
- "@typescript-eslint/eslint-plugin": "8.21.0",
6
- "@typescript-eslint/parser": "8.21.0",
5
+ "@typescript-eslint/eslint-plugin": "8.22.0",
6
+ "@typescript-eslint/parser": "8.22.0",
7
7
  "eslint-config-prettier": "10.0.1",
8
8
  "eslint-import-resolver-typescript": "3.7.0",
9
9
  "eslint-plugin-import": "2.31.0",
@@ -42,5 +42,5 @@
42
42
  "access": "public"
43
43
  },
44
44
  "repository": "https://github.com/open-turo/eslint-config-typescript",
45
- "version": "15.0.0-pr-374.338.1.1"
45
+ "version": "15.0.0"
46
46
  }
@@ -788,16 +788,16 @@ exports[`validate config load config file in ESLint to validate all rules are co
788
788
  "error",
789
789
  ],
790
790
  "@typescript-eslint/no-unnecessary-boolean-literal-compare": [
791
- "error",
791
+ "off",
792
792
  ],
793
793
  "@typescript-eslint/no-unnecessary-condition": [
794
- "error",
794
+ "off",
795
795
  ],
796
796
  "@typescript-eslint/no-unnecessary-template-expression": [
797
797
  "error",
798
798
  ],
799
799
  "@typescript-eslint/no-unnecessary-type-arguments": [
800
- "error",
800
+ "off",
801
801
  ],
802
802
  "@typescript-eslint/no-unnecessary-type-assertion": [
803
803
  "error",
@@ -806,7 +806,7 @@ exports[`validate config load config file in ESLint to validate all rules are co
806
806
  "error",
807
807
  ],
808
808
  "@typescript-eslint/no-unnecessary-type-parameters": [
809
- "error",
809
+ "off",
810
810
  ],
811
811
  "@typescript-eslint/no-unsafe-argument": [
812
812
  "error",