eslint-config-angular-strict 2.3.27 → 2.3.28
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 +5 -0
- package/package.json +2 -1
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/index.js
CHANGED
|
@@ -2,6 +2,7 @@ import angularEslintPlugin from '@angular-eslint/eslint-plugin';
|
|
|
2
2
|
import angularTemplateParser from '@angular-eslint/template-parser';
|
|
3
3
|
import angularTemplatePlugin from '@angular-eslint/eslint-plugin-template';
|
|
4
4
|
import importXPlugin from 'eslint-plugin-import-x';
|
|
5
|
+
import ngModuleSortPlugin from 'eslint-plugin-ng-module-sort';
|
|
5
6
|
import stylistic from '@stylistic/eslint-plugin';
|
|
6
7
|
import tsEslintParser from '@typescript-eslint/parser';
|
|
7
8
|
import tsEslintPlugin from '@typescript-eslint/eslint-plugin';
|
|
@@ -16,6 +17,7 @@ export default [
|
|
|
16
17
|
'@stylistic': stylistic,
|
|
17
18
|
'@typescript-eslint': tsEslintPlugin,
|
|
18
19
|
'import-x': importXPlugin,
|
|
20
|
+
'ng-module-sort': ngModuleSortPlugin,
|
|
19
21
|
},
|
|
20
22
|
},
|
|
21
23
|
|
|
@@ -101,6 +103,9 @@ export default [
|
|
|
101
103
|
],
|
|
102
104
|
'import-x/prefer-default-export': 'off',
|
|
103
105
|
|
|
106
|
+
// NgModule sort rules
|
|
107
|
+
'ng-module-sort/decorator-array-items': 'error',
|
|
108
|
+
|
|
104
109
|
// Stylistic rules
|
|
105
110
|
'@stylistic/arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }],
|
|
106
111
|
'@stylistic/lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }],
|
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.28",
|
|
4
4
|
"description": "Modern ESLint configuration with strict rules for Angular development.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"eslint": "9.39.3",
|
|
48
48
|
"eslint-config-airbnb-extended": "3.0.1",
|
|
49
49
|
"eslint-plugin-import-x": "4.16.1",
|
|
50
|
+
"eslint-plugin-ng-module-sort": "1.4.0",
|
|
50
51
|
"eslint-plugin-unicorn": "63.0.0"
|
|
51
52
|
},
|
|
52
53
|
"devDependencies": {
|