eslint-config-angular-strict 2.3.26 → 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.
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 }],
@@ -128,6 +133,13 @@ export default [
128
133
  { arrayLiteralTypeAssertions: 'never', assertionStyle: 'as', objectLiteralTypeAssertions: 'never' },
129
134
  ],
130
135
  '@typescript-eslint/consistent-type-imports': ['error', { prefer: 'no-type-imports' }],
136
+ '@typescript-eslint/explicit-member-accessibility': [
137
+ 'error',
138
+ {
139
+ accessibility: 'explicit',
140
+ overrides: { accessors: 'explicit', constructors: 'no-public', methods: 'explicit', properties: 'explicit', parameterProperties: 'explicit' },
141
+ },
142
+ ],
131
143
  '@typescript-eslint/member-ordering': ['error', { default: { order: 'natural-case-insensitive' } }],
132
144
  '@typescript-eslint/naming-convention': [
133
145
  'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.3.26",
3
+ "version": "2.3.28",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",
@@ -40,13 +40,14 @@
40
40
  "@angular-eslint/eslint-plugin-template": "21.2.0",
41
41
  "@angular-eslint/template-parser": "21.2.0",
42
42
  "@stylistic/eslint-plugin": "5.9.0",
43
- "@typescript-eslint/eslint-plugin": "8.56.0",
44
- "@typescript-eslint/parser": "8.56.0",
45
- "@typescript-eslint/types": "8.56.0",
46
- "@typescript-eslint/utils": "8.56.0",
43
+ "@typescript-eslint/eslint-plugin": "8.56.1",
44
+ "@typescript-eslint/parser": "8.56.1",
45
+ "@typescript-eslint/types": "8.56.1",
46
+ "@typescript-eslint/utils": "8.56.1",
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": {