eslint-config-angular-strict 2.3.32 → 2.3.34
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/README.md +1 -1
- package/index.js +2 -1
- package/package.json +11 -8
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/README.md
CHANGED
|
@@ -56,7 +56,7 @@ yarn add eslint-config-angular-strict --dev
|
|
|
56
56
|
|
|
57
57
|
### 2. Configure ESLint
|
|
58
58
|
|
|
59
|
-
Create an `eslint.config.js` file (ESLint
|
|
59
|
+
Create an `eslint.config.js` file (ESLint flat config format):
|
|
60
60
|
|
|
61
61
|
```javascript
|
|
62
62
|
import angularStrict from 'eslint-config-angular-strict';
|
package/index.js
CHANGED
|
@@ -77,7 +77,6 @@ export default [
|
|
|
77
77
|
'no-plusplus': 'off',
|
|
78
78
|
'no-return-assign': 'off',
|
|
79
79
|
'no-underscore-dangle': ['error', { allowAfterThis: true }],
|
|
80
|
-
'radix': ['error', 'as-needed'],
|
|
81
80
|
'sort-keys': ['error', 'asc', { allowLineSeparatedGroups: true, natural: true }],
|
|
82
81
|
|
|
83
82
|
// Import rules
|
|
@@ -168,8 +167,10 @@ export default [
|
|
|
168
167
|
'@typescript-eslint/no-dynamic-delete': 'error',
|
|
169
168
|
'@typescript-eslint/no-extraneous-class': ['error', { allowEmpty: true, allowStaticOnly: true }],
|
|
170
169
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
170
|
+
'@typescript-eslint/no-unnecessary-condition': 'error',
|
|
171
171
|
'@typescript-eslint/no-unnecessary-type-conversion': 'error',
|
|
172
172
|
'@typescript-eslint/no-useless-default-assignment': 'error',
|
|
173
|
+
'@typescript-eslint/prefer-readonly': 'error',
|
|
173
174
|
'@typescript-eslint/promise-function-async': ['error', { checkArrowFunctions: false }],
|
|
174
175
|
'@typescript-eslint/sort-type-constituents': 'error',
|
|
175
176
|
'@typescript-eslint/unbound-method': ['error', { ignoreStatic: true }],
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-angular-strict",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.34",
|
|
4
4
|
"description": "Modern ESLint configuration with strict rules for Angular development.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
7
7
|
"eslint",
|
|
8
8
|
"eslint-config",
|
|
9
9
|
"eslint-plugin",
|
|
10
|
-
"
|
|
10
|
+
"eslint10",
|
|
11
11
|
"flat-config",
|
|
12
12
|
"linting-rules",
|
|
13
13
|
"strict-rules",
|
|
@@ -40,16 +40,19 @@
|
|
|
40
40
|
"@angular-eslint/eslint-plugin-template": "21.3.0",
|
|
41
41
|
"@angular-eslint/template-parser": "21.3.0",
|
|
42
42
|
"@stylistic/eslint-plugin": "5.10.0",
|
|
43
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
44
|
-
"@typescript-eslint/parser": "8.
|
|
45
|
-
"@typescript-eslint/types": "8.
|
|
46
|
-
"@typescript-eslint/utils": "8.
|
|
47
|
-
"eslint": "
|
|
43
|
+
"@typescript-eslint/eslint-plugin": "8.57.0",
|
|
44
|
+
"@typescript-eslint/parser": "8.57.0",
|
|
45
|
+
"@typescript-eslint/types": "8.57.0",
|
|
46
|
+
"@typescript-eslint/utils": "8.57.0",
|
|
47
|
+
"eslint": "10.0.3",
|
|
48
48
|
"eslint-config-airbnb-extended": "3.0.1",
|
|
49
|
-
"eslint-plugin-import-x": "4.16.
|
|
49
|
+
"eslint-plugin-import-x": "4.16.2",
|
|
50
50
|
"eslint-plugin-ng-module-sort": "1.4.0",
|
|
51
51
|
"eslint-plugin-unicorn": "63.0.0"
|
|
52
52
|
},
|
|
53
|
+
"resolutions": {
|
|
54
|
+
"@typescript-eslint/utils": "8.57.0"
|
|
55
|
+
},
|
|
53
56
|
"devDependencies": {
|
|
54
57
|
"typescript": "5.9.3"
|
|
55
58
|
},
|