eslint-config-angular-strict 2.3.37 → 2.3.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.
- package/.yarn/install-state.gz +0 -0
- package/README.md +2 -1
- package/index.js +7 -7
- package/package.json +9 -9
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ A production-ready, opinionated ESLint configuration that enforces best practice
|
|
|
23
23
|
🅰️ **Angular**: 30+ rules for standalone, lifecycle, components/directives standards, metadata, signals, pipes,...<br>
|
|
24
24
|
📘 **TypeScript**: Member ordering, promise-async, type imports, strict typing, type safety, extraneous classes,...<br>
|
|
25
25
|
✨ **Code Quality**: Complexity max, file length control, import cycles detection, 100+ Unicorn best practices,...<br>
|
|
26
|
-
🎨 **Style**: Airbnb extended, max line length, arrow parens, object/class newlines, sorted keys/imports,...<br>
|
|
26
|
+
🎨 **Style**: Airbnb extended, max line length, arrow parens, object/class newlines, sorted keys/imports, sorted decorator arrays,...<br>
|
|
27
27
|
🔍 **Templates**: 30+ rules with alphabetical attrs, complexity max, control flow, trackBy, a11y, no-any,...
|
|
28
28
|
|
|
29
29
|
## What's Included
|
|
@@ -34,6 +34,7 @@ A production-ready, opinionated ESLint configuration that enforces best practice
|
|
|
34
34
|
- <img src="https://avatars.githubusercontent.com/u/53234240?s=48&" width="16" height="16"> [**Angular ESLint**](https://github.com/angular-eslint/angular-eslint) - Angular-specific rules
|
|
35
35
|
- <img src="https://eslint.org/icon-512.png" width="16" height="16"> [**ESLint**](https://github.com/eslint/eslint) - Core linting engine
|
|
36
36
|
- 📦 [**Import-X**](https://github.com/un-ts/eslint-plugin-import-x) - Import/export validation
|
|
37
|
+
- 🔤 [**NgModule Sort**](https://github.com/ducktordanny/eslint-plugin-ng-module-sort) - Sorted decorator arrays
|
|
37
38
|
- <img src="https://avatars.githubusercontent.com/u/144717797?s=48&" width="16" height="16"> [**Stylistic**](https://github.com/eslint-stylistic/eslint-stylistic) - Code formatting rules
|
|
38
39
|
- <img src="https://avatars.githubusercontent.com/u/46634674?s=48&" width="16" height="16"> [**TypeScript ESLint**](https://github.com/typescript-eslint/typescript-eslint) - TypeScript linting
|
|
39
40
|
- 🦄 [**Unicorn**](https://github.com/sindresorhus/eslint-plugin-unicorn) - More than 100 powerful ESLint rules
|
package/index.js
CHANGED
|
@@ -117,13 +117,13 @@ export default [
|
|
|
117
117
|
'@stylistic/object-curly-newline': [
|
|
118
118
|
'error',
|
|
119
119
|
{
|
|
120
|
-
ExportDeclaration: { consistent: true,
|
|
121
|
-
ImportDeclaration: { consistent: true,
|
|
122
|
-
ObjectExpression: { consistent: true,
|
|
123
|
-
ObjectPattern: { consistent: true,
|
|
124
|
-
TSEnumBody: { consistent: true,
|
|
125
|
-
TSInterfaceBody: { consistent: true,
|
|
126
|
-
TSTypeLiteral: { consistent: true,
|
|
120
|
+
ExportDeclaration: { consistent: true, multiline: true },
|
|
121
|
+
ImportDeclaration: { consistent: true, multiline: true },
|
|
122
|
+
ObjectExpression: { consistent: true, multiline: true },
|
|
123
|
+
ObjectPattern: { consistent: true, multiline: true },
|
|
124
|
+
TSEnumBody: { consistent: true, multiline: true },
|
|
125
|
+
TSInterfaceBody: { consistent: true, multiline: true },
|
|
126
|
+
TSTypeLiteral: { consistent: true, multiline: true },
|
|
127
127
|
},
|
|
128
128
|
],
|
|
129
129
|
'@stylistic/padded-blocks': ['error', { blocks: 'never', classes: 'always', switches: 'never' }],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-angular-strict",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.39",
|
|
4
4
|
"description": "Modern ESLint configuration with strict rules for Angular development.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"test": "cd tests && yarn install && eslint . --format=stylish"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@angular-eslint/builder": "21.3.
|
|
39
|
-
"@angular-eslint/eslint-plugin": "21.3.
|
|
40
|
-
"@angular-eslint/eslint-plugin-template": "21.3.
|
|
41
|
-
"@angular-eslint/template-parser": "21.3.
|
|
38
|
+
"@angular-eslint/builder": "21.3.1",
|
|
39
|
+
"@angular-eslint/eslint-plugin": "21.3.1",
|
|
40
|
+
"@angular-eslint/eslint-plugin-template": "21.3.1",
|
|
41
|
+
"@angular-eslint/template-parser": "21.3.1",
|
|
42
42
|
"@stylistic/eslint-plugin": "5.10.0",
|
|
43
|
-
"@typescript-eslint/eslint-plugin": "8.57.
|
|
44
|
-
"@typescript-eslint/parser": "8.57.
|
|
45
|
-
"@typescript-eslint/types": "8.57.
|
|
46
|
-
"@typescript-eslint/utils": "8.57.
|
|
43
|
+
"@typescript-eslint/eslint-plugin": "8.57.2",
|
|
44
|
+
"@typescript-eslint/parser": "8.57.2",
|
|
45
|
+
"@typescript-eslint/types": "8.57.2",
|
|
46
|
+
"@typescript-eslint/utils": "8.57.2",
|
|
47
47
|
"eslint": "9.39.4",
|
|
48
48
|
"eslint-config-airbnb-extended": "3.0.1",
|
|
49
49
|
"eslint-plugin-import-x": "4.16.2",
|