eslint-config-angular-strict 2.3.3 → 2.3.5
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.
- package/index.js +32 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -110,15 +110,43 @@ export default [
|
|
|
110
110
|
{
|
|
111
111
|
accessorPairPositioning: 'getThenSet',
|
|
112
112
|
order: [
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
|
|
114
|
+
// Angular decorated properties (alphabetical order)
|
|
115
|
+
{ groupByDecorator: 'ContentChild', sort: 'alphabetical' },
|
|
116
|
+
{ groupByDecorator: 'ContentChildren', sort: 'alphabetical' },
|
|
117
|
+
{ groupByDecorator: 'HostBinding', sort: 'alphabetical' },
|
|
118
|
+
{ groupByDecorator: 'HostListener', sort: 'alphabetical' },
|
|
119
|
+
{ groupByDecorator: 'Input', sort: 'alphabetical' },
|
|
120
|
+
{ groupByDecorator: 'Output', sort: 'alphabetical' },
|
|
121
|
+
{ groupByDecorator: 'ViewChild', sort: 'alphabetical' },
|
|
122
|
+
{ groupByDecorator: 'ViewChildren', sort: 'alphabetical' },
|
|
123
|
+
|
|
124
|
+
// Static properties
|
|
125
|
+
{ accessibility: 'public', static: true, type: 'property', sort: 'alphabetical' },
|
|
126
|
+
{ accessibility: 'private', static: true, type: 'property', sort: 'alphabetical' },
|
|
127
|
+
|
|
128
|
+
// Instance properties
|
|
129
|
+
{ accessibility: 'public', static: false, type: 'property', sort: 'alphabetical' },
|
|
130
|
+
{ accessibility: 'private', static: false, type: 'property', sort: 'alphabetical' },
|
|
131
|
+
|
|
132
|
+
// Constructor
|
|
115
133
|
'constructor',
|
|
134
|
+
|
|
135
|
+
// Angular lifecycle methods (ng*)
|
|
116
136
|
{ name: '/^ng/', type: 'method', sort: 'alphabetical' },
|
|
137
|
+
|
|
138
|
+
// Accessors
|
|
117
139
|
'[accessor-pairs]',
|
|
118
140
|
{ kind: 'get', sort: 'alphabetical' },
|
|
119
141
|
{ kind: 'set', sort: 'alphabetical' },
|
|
120
|
-
|
|
121
|
-
|
|
142
|
+
|
|
143
|
+
// Static methods
|
|
144
|
+
{ accessibility: 'public', static: true, type: 'method', sort: 'alphabetical' },
|
|
145
|
+
{ accessibility: 'private', static: true, type: 'method', sort: 'alphabetical' },
|
|
146
|
+
|
|
147
|
+
// Instance methods
|
|
148
|
+
{ accessibility: 'public', static: false, type: 'method', sort: 'alphabetical' },
|
|
149
|
+
{ accessibility: 'private', static: false, type: 'method', sort: 'alphabetical' },
|
|
122
150
|
],
|
|
123
151
|
},
|
|
124
152
|
],
|