@perfective/eslint-config 0.23.0 → 0.23.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perfective/eslint-config",
3
- "version": "0.23.0",
3
+ "version": "0.23.2",
4
4
  "description": "ESLint shareable rules configuration",
5
5
  "keywords": ["code quality", "code standard", "code style", "eslint", "eslint config", "lint", "perfective", "tslint", "tslint config", "typescript"],
6
6
  "author": "Andrey Mikheychik <a.mikheychik@gmail.com>",
@@ -12,9 +12,9 @@
12
12
  "license": "MIT",
13
13
  "peerDependencies": {
14
14
  "@babel/eslint-parser": "^7.23.3",
15
- "@typescript-eslint/eslint-plugin": "^6.11.0",
16
- "@typescript-eslint/eslint-plugin-tslint": "^6.11.0",
17
- "@typescript-eslint/parser": "^6.11.0",
15
+ "@typescript-eslint/eslint-plugin": "^6.13.1",
16
+ "@typescript-eslint/eslint-plugin-tslint": "^6.13.1",
17
+ "@typescript-eslint/parser": "^6.13.1",
18
18
  "eslint": "^8.54.0",
19
19
  "eslint-import-resolver-typescript": "^3.6.1",
20
20
  "eslint-plugin-array-func": "^4.0.0",
@@ -32,7 +32,7 @@
32
32
  "eslint-plugin-rxjs": "^5.0.3",
33
33
  "eslint-plugin-simple-import-sort": "^10.0.0",
34
34
  "eslint-plugin-sonarjs": "^0.23.0",
35
- "eslint-plugin-testing-library": "^6.1.2",
35
+ "eslint-plugin-testing-library": "^6.2.0",
36
36
  "eslint-plugin-unicorn": "^49.0.0",
37
37
  "tslint": "^6.1.3"
38
38
  },
@@ -260,7 +260,9 @@ module.exports = {
260
260
  allowNullableNumber: false,
261
261
  allowAny: false,
262
262
  }],
263
- '@typescript-eslint/switch-exhaustiveness-check': 'error',
263
+ '@typescript-eslint/switch-exhaustiveness-check': ['error', {
264
+ requireDefaultForNonUnion: true,
265
+ }],
264
266
  '@typescript-eslint/triple-slash-reference': ['error', {
265
267
  path: 'never',
266
268
  types: 'always',