eslint-config-angular-strict 2.2.74 → 2.2.76

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 +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -121,11 +121,12 @@ export default [
121
121
  '@stylistic/padded-blocks': ['error', { blocks: 'never', classes: 'always', switches: 'never' }],
122
122
 
123
123
  // TypeScript ESLint rules
124
- '@typescript-eslint/no-unnecessary-type-conversion': 'error',
124
+ '@typescript-eslint/consistent-type-assertions': ['error', { arrayLiteralTypeAssertions: 'never', assertionStyle: 'as', objectLiteralTypeAssertions: 'never' }],
125
125
  '@typescript-eslint/consistent-type-imports': ['error', { prefer: 'no-type-imports' }],
126
126
  '@typescript-eslint/member-ordering': 'error',
127
127
  '@typescript-eslint/no-extraneous-class': ['error', { allowEmpty: true, allowStaticOnly: true }],
128
128
  '@typescript-eslint/no-non-null-assertion': 'off',
129
+ '@typescript-eslint/no-unnecessary-type-conversion': 'error',
129
130
  '@typescript-eslint/promise-function-async': ['error', { checkArrowFunctions: false }],
130
131
  '@typescript-eslint/sort-type-constituents': 'error',
131
132
  '@typescript-eslint/unbound-method': ['error', { ignoreStatic: true }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.2.74",
3
+ "version": "2.2.76",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",