eslint-config-angular-strict 2.0.0 → 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.
Files changed (2) hide show
  1. package/README.md +12 -0
  2. package/package.json +5 -5
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.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,19 +32,19 @@
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",
38
39
  "@stylistic/eslint-plugin": "5.4.0",
39
40
  "@typescript-eslint/eslint-plugin": "8.45.0",
40
41
  "@typescript-eslint/parser": "8.45.0",
41
- "eslint-plugin-import-x": "4.16.1"
42
- },
43
- "devDependencies": {
44
- "@angular-eslint/builder": "20.3.0",
45
42
  "@typescript-eslint/types": "8.45.0",
46
43
  "@typescript-eslint/utils": "8.45.0",
47
44
  "eslint": "9.36.0",
45
+ "eslint-plugin-import-x": "4.16.1"
46
+ },
47
+ "devDependencies": {
48
48
  "typescript": "5.9.2"
49
49
  },
50
50
  "packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"