eslint-config-angular-strict 22.3.8 → 22.3.9

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/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -145,7 +145,7 @@ export default [
145
145
  '@typescript-eslint/no-useless-default-assignment': 'error',
146
146
  '@typescript-eslint/prefer-readonly': 'error',
147
147
  '@typescript-eslint/promise-function-async': ['error', { checkArrowFunctions: false }],
148
- '@typescript-eslint/switch-exhaustiveness-check': 'error', // default-case forces a default, so TS can no longer flag a missing union member
148
+ '@typescript-eslint/switch-exhaustiveness-check': ['error', { considerDefaultExhaustiveForUnions: true }], // only `// no default` switches need every case
149
149
  '@typescript-eslint/unbound-method': ['error', { ignoreStatic: true }],
150
150
 
151
151
  // Perfectionist rules
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "22.3.8",
3
+ "version": "22.3.9",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",