eslint-config-angular-strict 2.3.52 → 2.3.54
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 +10 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -144,8 +144,6 @@ export default [
|
|
|
144
144
|
],
|
|
145
145
|
newlinesBetween: 1,
|
|
146
146
|
newlinesInside: 'ignore',
|
|
147
|
-
order: 'asc',
|
|
148
|
-
type: 'natural',
|
|
149
147
|
},
|
|
150
148
|
],
|
|
151
149
|
'perfectionist/sort-imports': [
|
|
@@ -163,16 +161,23 @@ export default [
|
|
|
163
161
|
'firebase',
|
|
164
162
|
'ng-zorro',
|
|
165
163
|
'type-import',
|
|
166
|
-
|
|
164
|
+
'value-builtin',
|
|
165
|
+
'value-external',
|
|
167
166
|
'type-internal',
|
|
168
167
|
'value-internal',
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
'type-parent',
|
|
169
|
+
'type-sibling',
|
|
170
|
+
'type-index',
|
|
171
|
+
'value-parent',
|
|
172
|
+
'value-sibling',
|
|
173
|
+
'value-index',
|
|
171
174
|
'ts-equals-import',
|
|
172
175
|
'unknown',
|
|
173
176
|
],
|
|
174
177
|
},
|
|
175
178
|
],
|
|
179
|
+
'perfectionist/sort-intersection-types': ['error', { groups: ['unknown', 'nullish'] }],
|
|
180
|
+
'perfectionist/sort-union-types': ['error', { groups: ['unknown', 'nullish'] }],
|
|
176
181
|
|
|
177
182
|
// Unicorn rules
|
|
178
183
|
'unicorn/consistent-function-scoping': ['error', { checkArrowFunctions: false }],
|