eslint-config-angular-strict 2.0.9 → 2.1.1

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 +1 -1
  2. package/index.js +9 -4
  3. package/package.json +5 -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
- - ✅ **All plugins and parsers** (complete setup)
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,17 @@
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 importX from 'eslint-plugin-import-x'
4
+ import importX from 'eslint-plugin-import-x';
5
5
  import stylistic from '@stylistic/eslint-plugin';
6
+ import tsEslint from '@typescript-eslint/eslint-plugin';
6
7
  import tsParser from '@typescript-eslint/parser';
7
- import typescriptEslint from '@typescript-eslint/eslint-plugin';
8
+ import { configs, rules } from 'eslint-config-airbnb-extended';
8
9
 
9
10
  export default [
11
+ // Airbnb strict rules
12
+ ...configs.base.all,
13
+ rules.base.strict,
14
+ rules.base.importsStrict,
10
15
  {
11
16
  // TypeScript files configuration
12
17
  files: ['**/*.ts'],
@@ -17,7 +22,7 @@ export default [
17
22
  plugins: {
18
23
  '@angular-eslint': angular,
19
24
  '@stylistic': stylistic,
20
- '@typescript-eslint': typescriptEslint,
25
+ '@typescript-eslint': tsEslint,
21
26
  'import-x': importX,
22
27
  },
23
28
  rules: {
@@ -67,7 +72,7 @@ export default [
67
72
  '@typescript-eslint/sort-type-constituents': 'error',
68
73
  '@typescript-eslint/unbound-method': ['error', { ignoreStatic: true }],
69
74
 
70
- // Style rules handled by @stylistic/eslint-plugin
75
+ // Stylistic rules
71
76
  '@stylistic/brace-style': ['error', '1tbs', { allowSingleLine: true }],
72
77
  '@stylistic/comma-dangle': ['error', 'always-multiline'],
73
78
  '@stylistic/comma-spacing': ['error', { before: false, after: true }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "2.0.9",
3
+ "version": "2.1.1",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",
@@ -42,10 +42,13 @@
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.2"
49
+ "eslint-import-resolver-typescript": "4.4.4",
50
+ "typescript": "5.9.3",
51
+ "typescript-eslint": "8.45.0"
49
52
  },
50
53
  "packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
51
54
  }