eslint-config-angular-strict 2.3.57 → 2.3.59

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 +3 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -68,6 +68,7 @@ export default [
68
68
  // Stylistic rules
69
69
  '@stylistic/array-element-newline': ['error', { consistent: true, multiline: true }],
70
70
  '@stylistic/arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }],
71
+ '@stylistic/lines-between-class-members': 'off',
71
72
  '@stylistic/max-len': ['error', { code: 165, tabWidth: 2 }],
72
73
  '@stylistic/newline-per-chained-call': ['error', { ignoreChainWithDepth: 5 }],
73
74
  '@stylistic/no-confusing-arrow': 'off',
@@ -138,6 +139,7 @@ export default [
138
139
  customGroups: [
139
140
  { groupName: 'decorated-public', modifiers: ['decorated', 'public'] },
140
141
  { groupName: 'decorated-private', modifiers: ['decorated', 'private'] },
142
+ { groupName: 'ctor', selector: 'constructor' },
141
143
  {
142
144
  elementNamePattern: '^ng(OnChanges|OnInit|DoCheck|AfterContentInit|AfterContentChecked|AfterViewInit|AfterViewChecked|OnDestroy)$',
143
145
  groupName: 'lifecycle',
@@ -164,7 +166,7 @@ export default [
164
166
  'decorated-private',
165
167
  ['property', 'accessor-property', 'static-property', 'static-accessor-property'],
166
168
  ['private-property', 'private-accessor-property', 'private-static-property', 'private-static-accessor-property'],
167
- 'constructor',
169
+ 'ctor',
168
170
  'static-block',
169
171
  { group: 'lifecycle', newlinesInside: 1, type: 'unsorted' },
170
172
  { group: 'public-accessors', newlinesInside: 1 },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.3.57",
3
+ "version": "2.3.59",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",