eslint-config-angular-strict 2.3.64 → 2.3.65
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/.yarn/install-state.gz +0 -0
- package/index.js +8 -4
- package/package.json +1 -2
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/index.js
CHANGED
|
@@ -3,7 +3,6 @@ import angularEslintPlugin from '@angular-eslint/eslint-plugin';
|
|
|
3
3
|
import angularTemplateParser from '@angular-eslint/template-parser';
|
|
4
4
|
import angularTemplatePlugin from '@angular-eslint/eslint-plugin-template';
|
|
5
5
|
import importXPlugin from 'eslint-plugin-import-x';
|
|
6
|
-
import ngModuleSortPlugin from 'eslint-plugin-ng-module-sort';
|
|
7
6
|
import perfectionistPlugin from 'eslint-plugin-perfectionist';
|
|
8
7
|
import stylistic from '@stylistic/eslint-plugin';
|
|
9
8
|
import tsEslintParser from '@typescript-eslint/parser';
|
|
@@ -18,7 +17,6 @@ export default [
|
|
|
18
17
|
'@stylistic': stylistic,
|
|
19
18
|
'@typescript-eslint': tsEslintPlugin,
|
|
20
19
|
'import-x': importXPlugin,
|
|
21
|
-
'ng-module-sort': ngModuleSortPlugin,
|
|
22
20
|
},
|
|
23
21
|
settings: { perfectionist: { type: 'natural' } },
|
|
24
22
|
},
|
|
@@ -62,8 +60,6 @@ export default [
|
|
|
62
60
|
'import-x/order': 'off',
|
|
63
61
|
'import-x/prefer-default-export': 'off',
|
|
64
62
|
|
|
65
|
-
// NgModule sort rules
|
|
66
|
-
'ng-module-sort/decorator-array-items': 'error',
|
|
67
63
|
|
|
68
64
|
// Stylistic rules
|
|
69
65
|
'@stylistic/array-element-newline': ['error', { consistent: true, multiline: true }],
|
|
@@ -203,6 +199,14 @@ export default [
|
|
|
203
199
|
],
|
|
204
200
|
},
|
|
205
201
|
],
|
|
202
|
+
'perfectionist/sort-arrays': [
|
|
203
|
+
'error',
|
|
204
|
+
{
|
|
205
|
+
useConfigurationIf: {
|
|
206
|
+
matchesAstSelector: 'Property[key.name=/^(hostDirectives|imports|providers)$/] > ArrayExpression',
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
],
|
|
206
210
|
'perfectionist/sort-intersection-types': ['error', { groups: ['unknown', 'nullish'] }],
|
|
207
211
|
'perfectionist/sort-objects': [
|
|
208
212
|
'error',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-angular-strict",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.65",
|
|
4
4
|
"description": "Modern ESLint configuration with strict rules for Angular development.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -47,7 +47,6 @@
|
|
|
47
47
|
"eslint": "9.39.4",
|
|
48
48
|
"eslint-config-airbnb-extended": "3.0.1",
|
|
49
49
|
"eslint-plugin-import-x": "4.16.2",
|
|
50
|
-
"eslint-plugin-ng-module-sort": "1.4.0",
|
|
51
50
|
"eslint-plugin-perfectionist": "5.8.0",
|
|
52
51
|
"eslint-plugin-unicorn": "64.0.0"
|
|
53
52
|
},
|