eslint-config-angular-strict 2.3.27 → 2.3.29

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.
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
 
@@ -33,6 +35,7 @@ export default [
33
35
  // Angular ESLint rules
34
36
  '@angular-eslint/component-class-suffix': ['error', { suffixes: ['Component', 'Modal', 'Page'] }],
35
37
  '@angular-eslint/component-max-inline-declarations': 'error',
38
+ '@angular-eslint/computed-must-return': 'error',
36
39
  '@angular-eslint/consistent-component-styles': 'error',
37
40
  '@angular-eslint/contextual-decorator': 'error',
38
41
  '@angular-eslint/contextual-lifecycle': 'error',
@@ -101,6 +104,9 @@ export default [
101
104
  ],
102
105
  'import-x/prefer-default-export': 'off',
103
106
 
107
+ // NgModule sort rules
108
+ 'ng-module-sort/decorator-array-items': 'error',
109
+
104
110
  // Stylistic rules
105
111
  '@stylistic/arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }],
106
112
  '@stylistic/lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }],
@@ -195,6 +201,7 @@ export default [
195
201
  '@angular-eslint/template/no-interpolation-in-attributes': 'error',
196
202
  '@angular-eslint/template/no-negated-async': 'error',
197
203
  '@angular-eslint/template/no-nested-tags': 'error',
204
+ '@angular-eslint/template/no-non-null-assertion': 'error',
198
205
  '@angular-eslint/template/no-positive-tabindex': 'error',
199
206
  '@angular-eslint/template/prefer-at-else': 'error',
200
207
  '@angular-eslint/template/prefer-at-empty': 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.3.27",
3
+ "version": "2.3.29",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",
@@ -35,10 +35,10 @@
35
35
  "test": "cd tests && yarn install && eslint . --format=stylish"
36
36
  },
37
37
  "dependencies": {
38
- "@angular-eslint/builder": "21.2.0",
39
- "@angular-eslint/eslint-plugin": "21.2.0",
40
- "@angular-eslint/eslint-plugin-template": "21.2.0",
41
- "@angular-eslint/template-parser": "21.2.0",
38
+ "@angular-eslint/builder": "21.3.0",
39
+ "@angular-eslint/eslint-plugin": "21.3.0",
40
+ "@angular-eslint/eslint-plugin-template": "21.3.0",
41
+ "@angular-eslint/template-parser": "21.3.0",
42
42
  "@stylistic/eslint-plugin": "5.9.0",
43
43
  "@typescript-eslint/eslint-plugin": "8.56.1",
44
44
  "@typescript-eslint/parser": "8.56.1",
@@ -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": {