eslint-config-angular-strict 22.0.23 → 22.1.1

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 +4 -0
  2. package/package.json +10 -10
package/index.js CHANGED
@@ -52,6 +52,7 @@ export default [
52
52
  'max-lines': ['error', { max: 425, skipBlankLines: true, skipComments: true }],
53
53
  'max-nested-callbacks': 'error',
54
54
  'no-fallthrough': 'off',
55
+ 'no-loop-func': 'error',
55
56
  'no-param-reassign': ['error', { props: false }],
56
57
  'no-plusplus': 'off',
57
58
  'no-restricted-syntax': noRestrictedSyntaxRule,
@@ -129,6 +130,7 @@ export default [
129
130
  '@typescript-eslint/no-deprecated': 'error',
130
131
  '@typescript-eslint/no-dynamic-delete': 'error',
131
132
  '@typescript-eslint/no-extraneous-class': ['error', { allowEmpty: true, allowStaticOnly: true }],
133
+ '@typescript-eslint/no-loop-func': 'off',
132
134
  '@typescript-eslint/no-non-null-assertion': 'off',
133
135
  '@typescript-eslint/no-unnecessary-condition': 'error',
134
136
  '@typescript-eslint/no-unnecessary-type-conversion': 'error',
@@ -142,6 +144,7 @@ export default [
142
144
  'error',
143
145
  {
144
146
  customGroups: [
147
+ { elementValuePattern: '^inject\\(', groupName: 'inject-calls' },
145
148
  { groupName: 'decorated-public', modifiers: ['decorated', 'public'] },
146
149
  { groupName: 'decorated-private', modifiers: ['decorated', 'private'] },
147
150
  { groupName: 'ctor', selector: 'constructor' },
@@ -205,6 +208,7 @@ export default [
205
208
  },
206
209
  ],
207
210
  groups: [
211
+ 'inject-calls',
208
212
  'public-constant-aliases',
209
213
  'protected-constant-aliases',
210
214
  'private-constant-aliases',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "22.0.23",
3
+ "version": "22.1.01",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",
@@ -35,17 +35,17 @@
35
35
  "test": "cd tests && yarn install && eslint . --format=stylish"
36
36
  },
37
37
  "dependencies": {
38
- "@angular-eslint/builder": "22.0.0",
39
- "@angular-eslint/eslint-plugin": "22.0.0",
40
- "@angular-eslint/eslint-plugin-template": "22.0.0",
41
- "@angular-eslint/template-parser": "22.0.0",
38
+ "@angular-eslint/builder": "22.1.0",
39
+ "@angular-eslint/eslint-plugin": "22.1.0",
40
+ "@angular-eslint/eslint-plugin-template": "22.1.0",
41
+ "@angular-eslint/template-parser": "22.1.0",
42
42
  "@stylistic/eslint-plugin": "5.10.0",
43
- "@typescript-eslint/eslint-plugin": "8.63.0",
44
- "@typescript-eslint/parser": "8.63.0",
45
- "@typescript-eslint/types": "8.63.0",
46
- "@typescript-eslint/utils": "8.63.0",
43
+ "@typescript-eslint/eslint-plugin": "8.64.0",
44
+ "@typescript-eslint/parser": "8.64.0",
45
+ "@typescript-eslint/types": "8.64.0",
46
+ "@typescript-eslint/utils": "8.64.0",
47
47
  "eslint": "10.7.0",
48
- "eslint-config-airbnb-extended": "3.1.0",
48
+ "eslint-config-airbnb-extended": "3.1.1",
49
49
  "eslint-plugin-import-x": "4.17.1",
50
50
  "eslint-plugin-perfectionist": "5.10.0",
51
51
  "eslint-plugin-unicorn": "71.1.0"