eslint-config-angular-strict 2.0.1 → 2.0.2
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/README.md +12 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -48,6 +48,18 @@ yarn add eslint-config-angular-strict --dev
|
|
|
48
48
|
|
|
49
49
|
**⚠️ Important**: Remove any existing `eslint` dependency from your project - it's included!
|
|
50
50
|
|
|
51
|
+
## Package.json Configuration
|
|
52
|
+
|
|
53
|
+
**Required**: Add to your `package.json`:
|
|
54
|
+
|
|
55
|
+
```json
|
|
56
|
+
{
|
|
57
|
+
"type": "module"
|
|
58
|
+
}
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
This is mandatory because eslint-config-angular-strict uses ES modules.
|
|
62
|
+
|
|
51
63
|
## Configure ESLint
|
|
52
64
|
|
|
53
65
|
Create an `eslint.config.js` file (ESLint 9 flat config format):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-angular-strict",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "Modern ESLint configuration with strict rules for Angular development.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
".": "./index.js"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
+
"@angular-eslint/builder": "20.3.0",
|
|
35
36
|
"@angular-eslint/eslint-plugin": "20.3.0",
|
|
36
37
|
"@angular-eslint/eslint-plugin-template": "20.3.0",
|
|
37
38
|
"@angular-eslint/template-parser": "20.3.0",
|
|
@@ -44,7 +45,6 @@
|
|
|
44
45
|
"eslint-plugin-import-x": "4.16.1"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
|
-
"@angular-eslint/builder": "20.3.0",
|
|
48
48
|
"typescript": "5.9.2"
|
|
49
49
|
},
|
|
50
50
|
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
|