eslint-config-angular-strict 2.3.4 → 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 +17 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -110,25 +110,40 @@ 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
|
+
|
|
115
124
|
// Static properties
|
|
116
125
|
{ accessibility: 'public', static: true, type: 'property', sort: 'alphabetical' },
|
|
117
126
|
{ accessibility: 'private', static: true, type: 'property', sort: 'alphabetical' },
|
|
127
|
+
|
|
118
128
|
// Instance properties
|
|
119
129
|
{ accessibility: 'public', static: false, type: 'property', sort: 'alphabetical' },
|
|
120
130
|
{ accessibility: 'private', static: false, type: 'property', sort: 'alphabetical' },
|
|
131
|
+
|
|
121
132
|
// Constructor
|
|
122
133
|
'constructor',
|
|
134
|
+
|
|
123
135
|
// Angular lifecycle methods (ng*)
|
|
124
136
|
{ name: '/^ng/', type: 'method', sort: 'alphabetical' },
|
|
137
|
+
|
|
125
138
|
// Accessors
|
|
126
139
|
'[accessor-pairs]',
|
|
127
140
|
{ kind: 'get', sort: 'alphabetical' },
|
|
128
141
|
{ kind: 'set', sort: 'alphabetical' },
|
|
142
|
+
|
|
129
143
|
// Static methods
|
|
130
144
|
{ accessibility: 'public', static: true, type: 'method', sort: 'alphabetical' },
|
|
131
145
|
{ accessibility: 'private', static: true, type: 'method', sort: 'alphabetical' },
|
|
146
|
+
|
|
132
147
|
// Instance methods
|
|
133
148
|
{ accessibility: 'public', static: false, type: 'method', sort: 'alphabetical' },
|
|
134
149
|
{ accessibility: 'private', static: false, type: 'method', sort: 'alphabetical' },
|