eslint-config-angular-strict 2.3.3 → 2.3.4

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 +17 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -110,15 +110,28 @@ export default [
110
110
  {
111
111
  accessorPairPositioning: 'getThenSet',
112
112
  order: [
113
- { static: true, type: 'property', sort: 'alphabetical' },
114
- { static: false, type: 'property', sort: 'alphabetical' },
113
+ // Decorated properties (@Input, @Output, @ViewChild, etc.)
114
+ { groupByDecorator: '/.*/', type: 'property', sort: 'alphabetical' },
115
+ // Static properties
116
+ { accessibility: 'public', static: true, type: 'property', sort: 'alphabetical' },
117
+ { accessibility: 'private', static: true, type: 'property', sort: 'alphabetical' },
118
+ // Instance properties
119
+ { accessibility: 'public', static: false, type: 'property', sort: 'alphabetical' },
120
+ { accessibility: 'private', static: false, type: 'property', sort: 'alphabetical' },
121
+ // Constructor
115
122
  'constructor',
123
+ // Angular lifecycle methods (ng*)
116
124
  { name: '/^ng/', type: 'method', sort: 'alphabetical' },
125
+ // Accessors
117
126
  '[accessor-pairs]',
118
127
  { kind: 'get', sort: 'alphabetical' },
119
128
  { kind: 'set', sort: 'alphabetical' },
120
- { static: true, type: 'method', sort: 'alphabetical' },
121
- { static: false, type: 'method', sort: 'alphabetical' },
129
+ // Static methods
130
+ { accessibility: 'public', static: true, type: 'method', sort: 'alphabetical' },
131
+ { accessibility: 'private', static: true, type: 'method', sort: 'alphabetical' },
132
+ // Instance methods
133
+ { accessibility: 'public', static: false, type: 'method', sort: 'alphabetical' },
134
+ { accessibility: 'private', static: false, type: 'method', sort: 'alphabetical' },
122
135
  ],
123
136
  },
124
137
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.3.03",
3
+ "version": "2.3.04",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",