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.
Files changed (2) hide show
  1. package/index.js +10 -5
  2. 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
- ['value-builtin', 'value-external'],
164
+ 'value-builtin',
165
+ 'value-external',
167
166
  'type-internal',
168
167
  'value-internal',
169
- ['type-parent', 'type-sibling', 'type-index'],
170
- ['value-parent', 'value-sibling', 'value-index'],
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 }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.3.52",
3
+ "version": "2.3.54",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",