eslint-config-angular-strict 2.3.89 → 2.3.91

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 +6 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -174,6 +174,9 @@ export default [
174
174
  },
175
175
  { anyOf: [{ selector: 'get-method' }, { selector: 'set-method' }], groupName: 'public-accessors' },
176
176
  { anyOf: [{ selector: 'method' }, { selector: 'function-property' }], groupName: 'public-methods' },
177
+ { elementValuePattern: '^[A-Z][A-Z0-9_]*$', groupName: 'public-constant-aliases', modifiers: ['public', 'readonly'] },
178
+ { elementValuePattern: '^[A-Z][A-Z0-9_]*$', groupName: 'protected-constant-aliases', modifiers: ['protected', 'readonly'] },
179
+ { elementValuePattern: '^[A-Z][A-Z0-9_]*$', groupName: 'private-constant-aliases', modifiers: ['private', 'readonly'] },
177
180
  {
178
181
  anyOf: [
179
182
  { modifiers: ['public', 'readonly'], selector: 'property' },
@@ -197,6 +200,9 @@ export default [
197
200
  },
198
201
  ],
199
202
  groups: [
203
+ 'public-constant-aliases',
204
+ 'protected-constant-aliases',
205
+ 'private-constant-aliases',
200
206
  'decorated-public',
201
207
  'decorated-private',
202
208
  ['property', 'accessor-property', 'static-property', 'static-accessor-property'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.3.89",
3
+ "version": "2.3.91",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",
@@ -53,5 +53,5 @@
53
53
  "devDependencies": {
54
54
  "typescript": "5.9.3"
55
55
  },
56
- "packageManager": "yarn@4.14.1+sha512.64df448055b2d37ba269d7db535a469b8da93f8ef1140c25fd7a83c00a8fbaacb214ca0e02553b92a2c54cef78bb67d0b4817fab02001df0e24fac0faccc3b42"
56
+ "packageManager": "yarn@4.15.0+sha512.07ec708ac11e2eaa4ea2b04cfbb272812f7e74a753f1595eaef4486c663a98306a30cca3e6fc40f7a0b168dcfb3a2490b6a5e0501e20fb69cc36f563dd161c53"
57
57
  }