eslint-config-angular-strict 2.2.34 → 2.2.36

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 CHANGED
@@ -1,4 +1,6 @@
1
- <br>
1
+ <p align="center">
2
+ <img src="logo.svg" alt="Angular Strict ESLint Logo" width="120" height="120">
3
+ </p>
2
4
 
3
5
  <h1 align="center">Angular Strict ESLint</h1>
4
6
 
@@ -12,7 +14,7 @@
12
14
 
13
15
  <br>
14
16
 
15
- ## ⚠️ Version 2.0.0 - Flat Config
17
+ ## ⚠️ V2 - Flat Config
16
18
 
17
19
  This package includes **ESLint 9** and uses the new **flat configuration format** : [ESLint 9 Migration Guide](https://eslint.org/docs/latest/use/configure/migration-guide).
18
20
 
@@ -97,33 +99,23 @@ Make sure your `tsconfig.json` is properly configured:
97
99
 
98
100
  ## Features
99
101
 
100
- ### Angular Rules
101
-
102
- - ✅ **Best practices**: Standalone components, view encapsulation, injectable provided-in
103
- - ✅ **Component standards**: Class suffixes (Component, Modal, Page), kebab-case selectors
104
- - ✅ **Directive standards**: CamelCase selectors, proper class suffixes
105
- - ✅ **Lifecycle enforcement**: Interface usage, method ordering, async restrictions
106
- - ✅ **Template validation**: Accessibility, attributes ordering, trackBy functions
107
-
108
- ### TypeScript Rules
102
+ ### 🅰️ Angular Rules
109
103
 
110
- - **Code organization**: Import/export management, consistent type definitions
111
- - **Modern patterns**: Optional chaining, destructuring, proper error handling
112
- - **Performance**: Unbound method checking, proper async/await usage
113
- - ✅ **Strict typing**: Member ordering, type safety, no explicit any allowed
104
+ - 🏗️ **Best practices**: Standalone components, view encapsulation
105
+ - 🎯 **Component standards**: Class suffixes, kebab-case selectors
106
+ - 🔄 **Lifecycle enforcement**: Interface usage, method ordering
114
107
 
115
- ### Style & Formatting (via @stylistic)
108
+ ### 📘 TypeScript Rules
116
109
 
117
- - **Airbnb compliance**: 531 strict rules from eslint-config-airbnb-extended
118
- - **Code structure**: Max line length (180), object key sorting, proper spacing
119
- - **Consistent formatting**: 2-space indentation, single quotes, trailing commas
120
- - ✅ **Import organization**: Alphabetical ordering with framework prioritization
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
121
113
 
122
- ### Quality Assurance
114
+ ### 🎨 Style & Formatting
123
115
 
124
- - **Browser globals**: Explicit window usage for 58+ global variables
125
- - **Modern ES features**: Arrow functions, const/let usage, template literals
126
- - **Variable safety**: No shadowing, unused variable warnings, no undefined usage
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
127
119
 
128
120
  ## Contributing
129
121
 
package/logo.svg ADDED
@@ -0,0 +1 @@
1
+ <svg height="200" viewBox="0 0 200 200" width="200" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" x1="0%" x2="100%" y1="0%" y2="100%"><stop offset="0" stop-color="#4b32c3"/><stop offset="1" stop-color="#3b28a3"/></linearGradient><path d="m100 25 60 25-5 75-55 50-55-50-5-75z" fill="#fff" opacity=".95"/><path d="m100 45 30 20v40l-30 20-30-20v-40z" fill="url(#a)"/><path d="m100 55-15 40h10l3-7h4l3 7h10zm-4 23 4-10 4 10z" fill="#fff"/><g fill="url(#a)"><rect height="3" rx="1.5" width="50" x="75" y="135"/><rect height="2" rx="1" width="40" x="80" y="142"/><rect height="2" rx="1" width="30" x="85" y="148"/></g></svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.2.34",
3
+ "version": "2.2.36",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",