eslint-config-angular-strict 2.3.59 → 2.3.61

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 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -141,11 +141,9 @@ export default [
141
141
  { groupName: 'decorated-private', modifiers: ['decorated', 'private'] },
142
142
  { groupName: 'ctor', selector: 'constructor' },
143
143
  {
144
- elementNamePattern: '^ng(OnChanges|OnInit|DoCheck|AfterContentInit|AfterContentChecked|AfterViewInit|AfterViewChecked|OnDestroy)$',
144
+ elementNamePattern: '^(init|ng(OnChanges|OnInit|DoCheck|AfterContentInit|AfterContentChecked|AfterViewInit|AfterViewChecked|OnDestroy))$',
145
145
  groupName: 'lifecycle',
146
146
  },
147
- { anyOf: [{ selector: 'get-method' }, { selector: 'set-method' }], groupName: 'public-accessors' },
148
- { anyOf: [{ selector: 'method' }, { selector: 'function-property' }], groupName: 'public-methods' },
149
147
  {
150
148
  anyOf: [
151
149
  { modifiers: ['private'], selector: 'get-method' },
@@ -160,6 +158,8 @@ export default [
160
158
  ],
161
159
  groupName: 'private-methods',
162
160
  },
161
+ { anyOf: [{ selector: 'get-method' }, { selector: 'set-method' }], groupName: 'public-accessors' },
162
+ { anyOf: [{ selector: 'method' }, { selector: 'function-property' }], groupName: 'public-methods' },
163
163
  ],
164
164
  groups: [
165
165
  'decorated-public',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.3.59",
3
+ "version": "2.3.61",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",