eslint-config-angular-strict 2.1.8 → 2.2.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.
Files changed (2) hide show
  1. package/index.js +1 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -64,6 +64,7 @@ export default [
64
64
  '@angular-eslint/use-pipe-transform-interface': 'error',
65
65
 
66
66
  // TypeScript ESLint rules
67
+ '@typescript-eslint/consistent-type-imports': ['error', { prefer: 'no-type-imports' }],
67
68
  '@typescript-eslint/member-ordering': 'error',
68
69
  '@typescript-eslint/no-explicit-any': 'off',
69
70
  '@typescript-eslint/no-extraneous-class': ['error', { allowEmpty: true, allowStaticOnly: true }],
@@ -141,10 +142,6 @@ export default [
141
142
  'prefer-destructuring': 'off',
142
143
  'sort-keys': ['error'],
143
144
  radix: ['error', 'as-needed'],
144
-
145
- // Disable base ESLint rule that conflicts with @typescript-eslint/only-throw-error
146
- '@typescript-eslint/no-throw-literal': 'off',
147
- 'no-throw-literal': 'off',
148
145
  },
149
146
  },
150
147
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.1.8",
3
+ "version": "2.2.0",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",