eslint-config-angular-strict 22.2.1 → 22.2.3

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
@@ -71,6 +71,7 @@ export default [
71
71
  'import-x/prefer-default-export': 'off',
72
72
 
73
73
  // Stylistic rules
74
+ '@stylistic/array-bracket-newline': ['error', 'consistent'],
74
75
  '@stylistic/array-element-newline': ['error', { consistent: true, multiline: true }],
75
76
  '@stylistic/arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }],
76
77
  '@stylistic/lines-between-class-members': 'off',
@@ -147,7 +148,7 @@ export default [
147
148
  'error',
148
149
  {
149
150
  customGroups: [
150
- { elementValuePattern: '^inject(<[^>]+>)?\\(', groupName: 'inject-calls' },
151
+ { elementValuePattern: '(?<![.\\w])inject\\s*(<[^>]+>)?\\(', groupName: 'inject-calls' },
151
152
  { groupName: 'decorated-public', modifiers: ['decorated', 'public'] },
152
153
  { groupName: 'decorated-private', modifiers: ['decorated', 'private'] },
153
154
  { groupName: 'ctor', selector: 'constructor' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "22.2.1",
3
+ "version": "22.2.3",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",