@spscommerce/eslint-config-typescript 0.0.12-rc.0 → 0.0.12-rc.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.
@@ -73,7 +73,7 @@ exports.bestPractices = {
73
73
  * require the use of === and !== 🔧
74
74
  * https://eslint.org/docs/rules/eqeqeq
75
75
  */
76
- eqeqeq: "error",
76
+ eqeqeq: ["error", "always", { null: "ignore" }],
77
77
  /**
78
78
  * Require grouped accessor pairs in object literals and classes
79
79
  * https://eslint.org/docs/rules/grouped-accessor-pairs
package/lib/rules/es6.js CHANGED
@@ -58,7 +58,6 @@ exports.es6 = {
58
58
  */
59
59
  "no-duplicate-import": "off",
60
60
  "no-duplicate-imports": "off",
61
- "@typescript-eslint/no-duplicate-imports": "off",
62
61
  /**
63
62
  * disallow symbol constructor ✅
64
63
  * https://eslint.org/docs/rules/no-new-symbol
@@ -147,11 +147,6 @@ exports.typescript = {
147
147
  * https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-for-in-array.md
148
148
  */
149
149
  "@typescript-eslint/no-for-in-array": "error",
150
- /**
151
- * Disallow usage of the implicit `any` type in catch clauses 🔧
152
- * https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-implicit-any-catch.md
153
- */
154
- "@typescript-eslint/no-implicit-any-catch": "warn",
155
150
  /**
156
151
  * Disallows explicit type declarations for variables or
157
152
  * parameters initialized to a number, string, or boolean ✅ 🔧
@@ -198,11 +193,6 @@ exports.typescript = {
198
193
  * https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-non-null-assertion.md
199
194
  */
200
195
  "@typescript-eslint/no-non-null-assertion": "error",
201
- /**
202
- * Disallow the use of parameter properties in class constructors
203
- * https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-parameter-properties.md
204
- */
205
- "@typescript-eslint/no-parameter-properties": "off",
206
196
  /**
207
197
  * Disallows invocation of `require()`
208
198
  * https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-require-imports.md
@@ -392,11 +382,6 @@ exports.typescript = {
392
382
  * https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/restrict-template-expressions.md
393
383
  */
394
384
  "@typescript-eslint/restrict-template-expressions": "error",
395
- /**
396
- * Enforces that members of a type union/intersection are sorted alphabetically 🔧
397
- * https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/sort-type-union-intersection-members.md
398
- */
399
- "@typescript-eslint/sort-type-union-intersection-members": "error",
400
385
  /**
401
386
  * Restricts the types allowed in boolean expressions 🔧 💭
402
387
  * https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/strict-boolean-expressions.md
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spscommerce/eslint-config-typescript",
3
- "version": "0.0.12-rc.0",
3
+ "version": "0.0.12-rc.2",
4
4
  "description": "SPS official linter configuration for TypeScript.",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -38,8 +38,8 @@
38
38
  "eslint-plugin-import": "^2.31.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@typescript-eslint/eslint-plugin": "^6.20.0",
42
- "@typescript-eslint/parser": "^6.20.0",
41
+ "@typescript-eslint/eslint-plugin": "^8.24.0",
42
+ "@typescript-eslint/parser": "^8.24.0",
43
43
  "eslint-import-resolver-typescript": "^3.7.0",
44
44
  "eslint-plugin-import": "^2.31.0"
45
45
  }