eslint-config-angular-strict 2.2.37 → 2.2.38
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 +11 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,17 +22,17 @@ This package includes **ESLint 9** and uses the new **flat configuration format*
|
|
|
22
22
|
|
|
23
23
|
#### ✨ **No additional ESLint installation needed!** Everything is bundled.
|
|
24
24
|
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
25
|
+
- <img src="https://eslint-airbnb-extended.nishargshah.dev/logo.png" width="16" height="16"> [**Airbnb Extended**](https://github.com/nishargshah/eslint-config-airbnb-extended)
|
|
26
|
+
- <img src="https://avatars.githubusercontent.com/u/53234240?s=48&" width="16" height="16"> [**Angular ESLint**](https://github.com/angular-eslint/angular-eslint)
|
|
27
|
+
- <img src="https://eslint.org/icon-512.png" width="16" height="16"> [**ESLint 9**](https://github.com/eslint/eslint)
|
|
28
|
+
- <img src="https://avatars.githubusercontent.com/u/144717797?s=48&" width="16" height="16"> [**Stylistic**](https://github.com/eslint-stylistic/eslint-stylistic)
|
|
29
|
+
- <img src="https://avatars.githubusercontent.com/u/46634674?s=48&" width="16" height="16"> [**TypeScript ESLint**](https://github.com/typescript-eslint/typescript-eslint)
|
|
30
30
|
|
|
31
31
|
## Requirements
|
|
32
32
|
|
|
33
|
-
- **Angular 18+**
|
|
34
|
-
- **Node.js 18+**
|
|
35
|
-
- **TypeScript 5+**
|
|
33
|
+
- <img src="https://avatars.githubusercontent.com/u/139426?s=48&" width="16" height="16"> **Angular 18+**
|
|
34
|
+
- <img src="https://avatars.githubusercontent.com/u/9950313?s=48&v=4" width="16" height="16"> **Node.js 18+**
|
|
35
|
+
- <img src="https://avatars.githubusercontent.com/u/46634674?s=48&" width="16" height="16"> **TypeScript 5+**
|
|
36
36
|
|
|
37
37
|
## Installation
|
|
38
38
|
|
|
@@ -50,7 +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
|
|
53
|
+
## Package.json configuration
|
|
54
54
|
|
|
55
55
|
**Required**: Add to your `package.json`:
|
|
56
56
|
|
|
@@ -99,13 +99,13 @@ Make sure your `tsconfig.json` is properly configured:
|
|
|
99
99
|
|
|
100
100
|
## Features
|
|
101
101
|
|
|
102
|
-
###
|
|
102
|
+
### <img src="https://avatars.githubusercontent.com/u/139426?s=48&" width="20" height="20"> Angular Rules
|
|
103
103
|
|
|
104
104
|
- 🏗️ **Best practices**: Standalone components, view encapsulation
|
|
105
105
|
- 🎯 **Component standards**: Class suffixes, kebab-case selectors
|
|
106
106
|
- 🔄 **Lifecycle enforcement**: Interface usage, method ordering
|
|
107
107
|
|
|
108
|
-
###
|
|
108
|
+
### <img src="https://avatars.githubusercontent.com/u/46634674?s=48&" width="20" height="20"> TypeScript Rules
|
|
109
109
|
|
|
110
110
|
- 📦 **Code organization**: Import/export management, type definitions
|
|
111
111
|
- ⚡ **Modern patterns**: Optional chaining, destructuring, async/await
|