eslint-config-angular-strict 2.2.38 → 2.2.39

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 (3) hide show
  1. package/README.md +19 -23
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -50,19 +50,7 @@ yarn add eslint-config-angular-strict --dev
50
50
 
51
51
  **⚠️ Important**: Remove any existing `eslint` dependency from your project - it's included!
52
52
 
53
- ## Package.json configuration
54
-
55
- **Required**: Add to your `package.json`:
56
-
57
- ```json
58
- {
59
- "type": "module"
60
- }
61
- ```
62
-
63
- This is mandatory because eslint-config-angular-strict uses ES modules.
64
-
65
- ## Configure ESLint
53
+ ## ESLint Configuration
66
54
 
67
55
  Create an `eslint.config.js` file (ESLint 9 flat config format):
68
56
 
@@ -75,7 +63,15 @@ export default [
75
63
  ];
76
64
  ```
77
65
 
78
- ### TypeScript Configuration
66
+ **Required**: add to your `package.json`:
67
+
68
+ ```json
69
+ {
70
+ "type": "module"
71
+ }
72
+ ```
73
+
74
+ ## TypeScript Configuration
79
75
 
80
76
  Make sure your `tsconfig.json` is properly configured:
81
77
 
@@ -101,21 +97,21 @@ Make sure your `tsconfig.json` is properly configured:
101
97
 
102
98
  ### <img src="https://avatars.githubusercontent.com/u/139426?s=48&" width="20" height="20"> Angular Rules
103
99
 
104
- - 🏗️ **Best practices**: Standalone components, view encapsulation
105
- - 🎯 **Component standards**: Class suffixes, kebab-case selectors
106
- - 🔄 **Lifecycle enforcement**: Interface usage, method ordering
100
+ - 🏗️ **Best practices**: Standalone components, view encapsulation, and more...
101
+ - 🎯 **Component standards**: Class suffixes, kebab-case selectors, and more...
102
+ - 🔄 **Lifecycle enforcement**: Interface usage, method ordering, and more...
107
103
 
108
104
  ### <img src="https://avatars.githubusercontent.com/u/46634674?s=48&" width="20" height="20"> TypeScript Rules
109
105
 
110
- - 📦 **Code organization**: Import/export management, type definitions
111
- - ⚡ **Modern patterns**: Optional chaining, destructuring, async/await
112
- - 🛡️ **Strict typing**: Member ordering, type safety, no explicit any
106
+ - 📦 **Code organization**: Import/export management, type definitions, and more...
107
+ - ⚡ **Modern patterns**: Optional chaining, destructuring, async/await, and more...
108
+ - 🛡️ **Strict typing**: Member ordering, type safety, no explicit any, and more...
113
109
 
114
110
  ### 🎨 Style & Formatting
115
111
 
116
- - 📋 **Airbnb compliance**: 531 strict rules from eslint-config-airbnb-extended
117
- - 📏 **Code structure**: Max line length (180), proper spacing
118
- - 🔤 **Import organization**: Alphabetical ordering with framework prioritization
112
+ - 📋 **Airbnb compliance**: 531 strict rules from eslint-config-airbnb-extended, and more...
113
+ - 📏 **Code structure**: Max line length, proper spacing, and more...
114
+ - 🔤 **Import organization**: Alphabetical ordering with framework prioritization, and more...
119
115
 
120
116
  ## Contributing
121
117
 
package/index.js CHANGED
@@ -74,7 +74,7 @@ export default [
74
74
  // Stylistic rules
75
75
  '@stylistic/arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }],
76
76
  '@stylistic/lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }],
77
- '@stylistic/max-len': ['error', { code: 180, tabWidth: 2 }],
77
+ '@stylistic/max-len': ['error', { code: 170, tabWidth: 2 }],
78
78
  '@stylistic/object-curly-newline': [
79
79
  'error',
80
80
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.2.38",
3
+ "version": "2.2.39",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",