eslint-config-angular-strict 2.3.78 → 2.3.79

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 +21 -21
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -140,27 +140,6 @@ export default [
140
140
  elementNamePattern: '^(init|ng(OnChanges|OnInit|DoCheck|AfterContentInit|AfterContentChecked|AfterViewInit|AfterViewChecked|OnDestroy))$',
141
141
  groupName: 'lifecycle',
142
142
  },
143
- {
144
- anyOf: [
145
- { modifiers: ['public', 'readonly'], selector: 'property' },
146
- { modifiers: ['public', 'readonly'], selector: 'accessor-property' },
147
- ],
148
- groupName: 'public-readonly-fields',
149
- },
150
- {
151
- anyOf: [
152
- { modifiers: ['protected', 'readonly'], selector: 'property' },
153
- { modifiers: ['protected', 'readonly'], selector: 'accessor-property' },
154
- ],
155
- groupName: 'protected-readonly-fields',
156
- },
157
- {
158
- anyOf: [
159
- { modifiers: ['private', 'readonly'], selector: 'property' },
160
- { modifiers: ['private', 'readonly'], selector: 'accessor-property' },
161
- ],
162
- groupName: 'private-readonly-fields',
163
- },
164
143
  {
165
144
  anyOf: [
166
145
  { modifiers: ['private'], selector: 'get-method' },
@@ -191,6 +170,27 @@ export default [
191
170
  },
192
171
  { anyOf: [{ selector: 'get-method' }, { selector: 'set-method' }], groupName: 'public-accessors' },
193
172
  { anyOf: [{ selector: 'method' }, { selector: 'function-property' }], groupName: 'public-methods' },
173
+ {
174
+ anyOf: [
175
+ { modifiers: ['public', 'readonly'], selector: 'property' },
176
+ { modifiers: ['public', 'readonly'], selector: 'accessor-property' },
177
+ ],
178
+ groupName: 'public-readonly-fields',
179
+ },
180
+ {
181
+ anyOf: [
182
+ { modifiers: ['protected', 'readonly'], selector: 'property' },
183
+ { modifiers: ['protected', 'readonly'], selector: 'accessor-property' },
184
+ ],
185
+ groupName: 'protected-readonly-fields',
186
+ },
187
+ {
188
+ anyOf: [
189
+ { modifiers: ['private', 'readonly'], selector: 'property' },
190
+ { modifiers: ['private', 'readonly'], selector: 'accessor-property' },
191
+ ],
192
+ groupName: 'private-readonly-fields',
193
+ },
194
194
  ],
195
195
  groups: [
196
196
  'decorated-public',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.3.78",
3
+ "version": "2.3.79",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",