eslint-config-angular-strict 2.0.8 → 2.1.0
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 +1 -1
- package/index.js +5 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ This package includes **ESLint 9** and uses the new **flat configuration format*
|
|
|
20
20
|
|
|
21
21
|
#### ✨ **No additional ESLint installation needed!** Everything is bundled.
|
|
22
22
|
|
|
23
|
-
- ✅ **
|
|
23
|
+
- ✅ **Airbnb Extended** (strict coding standards)
|
|
24
24
|
- ✅ **Angular ESLint** (Angular 18+ support)
|
|
25
25
|
- ✅ **ESLint 9** (bundled - no separate installation needed)
|
|
26
26
|
- ✅ **Stylistic** (modern formatting rules)
|
package/index.js
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import angular from '@angular-eslint/eslint-plugin';
|
|
2
2
|
import angularTemplate from '@angular-eslint/eslint-plugin-template';
|
|
3
3
|
import angularTemplateParser from '@angular-eslint/template-parser';
|
|
4
|
+
import { rules } from 'eslint-config-airbnb-extended';
|
|
4
5
|
import importX from 'eslint-plugin-import-x'
|
|
5
6
|
import stylistic from '@stylistic/eslint-plugin';
|
|
6
7
|
import tsParser from '@typescript-eslint/parser';
|
|
7
8
|
import typescriptEslint from '@typescript-eslint/eslint-plugin';
|
|
8
9
|
|
|
9
10
|
export default [
|
|
11
|
+
// Airbnb strict rules
|
|
12
|
+
rules.base.strict,
|
|
13
|
+
rules.base.importsStrict,
|
|
10
14
|
{
|
|
11
15
|
// TypeScript files configuration
|
|
12
16
|
files: ['**/*.ts'],
|
|
@@ -67,7 +71,7 @@ export default [
|
|
|
67
71
|
'@typescript-eslint/sort-type-constituents': 'error',
|
|
68
72
|
'@typescript-eslint/unbound-method': ['error', { ignoreStatic: true }],
|
|
69
73
|
|
|
70
|
-
//
|
|
74
|
+
// Stylistic rules
|
|
71
75
|
'@stylistic/brace-style': ['error', '1tbs', { allowSingleLine: true }],
|
|
72
76
|
'@stylistic/comma-dangle': ['error', 'always-multiline'],
|
|
73
77
|
'@stylistic/comma-spacing': ['error', { before: false, after: true }],
|
|
@@ -84,7 +88,6 @@ export default [
|
|
|
84
88
|
'@stylistic/space-infix-ops': 'error',
|
|
85
89
|
|
|
86
90
|
// Import rules
|
|
87
|
-
"import-x/extensions": ["error", "never", { "fix": true }],
|
|
88
91
|
'import-x/no-anonymous-default-export': 'error',
|
|
89
92
|
'import-x/no-commonjs': 'error',
|
|
90
93
|
'import-x/no-cycle': ['error', { maxDepth: 2 }],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-angular-strict",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Modern ESLint configuration with strict rules for Angular development.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -42,10 +42,11 @@
|
|
|
42
42
|
"@typescript-eslint/types": "8.45.0",
|
|
43
43
|
"@typescript-eslint/utils": "8.45.0",
|
|
44
44
|
"eslint": "9.36.0",
|
|
45
|
+
"eslint-config-airbnb-extended": "2.3.1",
|
|
45
46
|
"eslint-plugin-import-x": "4.16.1"
|
|
46
47
|
},
|
|
47
48
|
"devDependencies": {
|
|
48
|
-
"typescript": "5.9.
|
|
49
|
+
"typescript": "5.9.3"
|
|
49
50
|
},
|
|
50
51
|
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
|
|
51
52
|
}
|