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.
- package/index.js +6 -0
- 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.
|
|
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.
|
|
56
|
+
"packageManager": "yarn@4.15.0+sha512.07ec708ac11e2eaa4ea2b04cfbb272812f7e74a753f1595eaef4486c663a98306a30cca3e6fc40f7a0b168dcfb3a2490b6a5e0501e20fb69cc36f563dd161c53"
|
|
57
57
|
}
|