eslint-config-angular-strict 2.3.73 → 2.3.75

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 (3) hide show
  1. package/README.md +5 -1
  2. package/index.js +18 -1
  3. package/package.json +6 -6
package/README.md CHANGED
@@ -90,9 +90,12 @@ Make sure your `tsconfig.json` is properly configured:
90
90
  "strict": true
91
91
  },
92
92
  "angularCompilerOptions": {
93
+ // ...
94
+ "extendedDiagnostics": { "defaultCategory": "error" },
93
95
  "strictInjectionParameters": true,
94
96
  "strictStandalone": true,
95
- "strictTemplates": true
97
+ "strictTemplates": true,
98
+ "typeCheckHostBindings": true
96
99
  }
97
100
  }
98
101
  ```
@@ -134,6 +137,7 @@ This config handles **TypeScript formatting via ESLint**. Prettier should only b
134
137
 
135
138
  ```jsonc
136
139
  {
140
+ // ...
137
141
  "[html]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
138
142
  "editor.defaultFormatter": "dbaeumer.vscode-eslint",
139
143
  "editor.formatOnSave": true,
package/index.js CHANGED
@@ -60,7 +60,6 @@ export default [
60
60
  'import-x/order': 'off',
61
61
  'import-x/prefer-default-export': 'off',
62
62
 
63
-
64
63
  // Stylistic rules
65
64
  '@stylistic/array-element-newline': ['error', { consistent: true, multiline: true }],
66
65
  '@stylistic/arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }],
@@ -118,6 +117,7 @@ export default [
118
117
  { selector: 'variable', format: ['camelCase'] },
119
118
  ],
120
119
  '@typescript-eslint/no-base-to-string': 'error',
120
+ '@typescript-eslint/no-deprecated': 'error',
121
121
  '@typescript-eslint/no-dynamic-delete': 'error',
122
122
  '@typescript-eslint/no-extraneous-class': ['error', { allowEmpty: true, allowStaticOnly: true }],
123
123
  '@typescript-eslint/no-non-null-assertion': 'off',
@@ -154,6 +154,20 @@ export default [
154
154
  ],
155
155
  groupName: 'private-methods',
156
156
  },
157
+ {
158
+ anyOf: [
159
+ { modifiers: ['protected'], selector: 'get-method' },
160
+ { modifiers: ['protected'], selector: 'set-method' },
161
+ ],
162
+ groupName: 'protected-accessors',
163
+ },
164
+ {
165
+ anyOf: [
166
+ { modifiers: ['protected'], selector: 'method' },
167
+ { modifiers: ['protected'], selector: 'function-property' },
168
+ ],
169
+ groupName: 'protected-methods',
170
+ },
157
171
  { anyOf: [{ selector: 'get-method' }, { selector: 'set-method' }], groupName: 'public-accessors' },
158
172
  { anyOf: [{ selector: 'method' }, { selector: 'function-property' }], groupName: 'public-methods' },
159
173
  ],
@@ -161,12 +175,15 @@ export default [
161
175
  'decorated-public',
162
176
  'decorated-private',
163
177
  ['property', 'accessor-property', 'static-property', 'static-accessor-property'],
178
+ ['protected-property', 'protected-accessor-property', 'protected-static-property', 'protected-static-accessor-property'],
164
179
  ['private-property', 'private-accessor-property', 'private-static-property', 'private-static-accessor-property'],
165
180
  'ctor',
166
181
  'static-block',
167
182
  { group: 'lifecycle', newlinesInside: 1, type: 'unsorted' },
168
183
  { group: 'public-accessors', newlinesInside: 1 },
169
184
  { group: 'public-methods', newlinesInside: 1 },
185
+ { group: 'protected-accessors', newlinesInside: 1 },
186
+ { group: 'protected-methods', newlinesInside: 1 },
170
187
  { group: 'private-accessors', newlinesInside: 1 },
171
188
  { group: 'private-methods', newlinesInside: 1 },
172
189
  'unknown',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.3.73",
3
+ "version": "2.3.75",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",
@@ -40,10 +40,10 @@
40
40
  "@angular-eslint/eslint-plugin-template": "21.3.1",
41
41
  "@angular-eslint/template-parser": "21.3.1",
42
42
  "@stylistic/eslint-plugin": "5.10.0",
43
- "@typescript-eslint/eslint-plugin": "8.59.1",
44
- "@typescript-eslint/parser": "8.59.1",
45
- "@typescript-eslint/types": "8.59.1",
46
- "@typescript-eslint/utils": "8.59.1",
43
+ "@typescript-eslint/eslint-plugin": "8.59.2",
44
+ "@typescript-eslint/parser": "8.59.2",
45
+ "@typescript-eslint/types": "8.59.2",
46
+ "@typescript-eslint/utils": "8.59.2",
47
47
  "eslint": "9.39.4",
48
48
  "eslint-config-airbnb-extended": "3.1.0",
49
49
  "eslint-plugin-import-x": "4.16.2",
@@ -53,5 +53,5 @@
53
53
  "devDependencies": {
54
54
  "typescript": "5.9.3"
55
55
  },
56
- "packageManager": "yarn@4.14.1"
56
+ "packageManager": "yarn@4.14.1+sha512.64df448055b2d37ba269d7db535a469b8da93f8ef1140c25fd7a83c00a8fbaacb214ca0e02553b92a2c54cef78bb67d0b4817fab02001df0e24fac0faccc3b42"
57
57
  }