|
1 | 1 | { |
2 | 2 | "root": true, |
3 | 3 | "ignorePatterns": ["projects/**/*"], |
4 | | - "plugins": ["unused-imports"], |
5 | 4 | "overrides": [ |
6 | 5 | { |
7 | 6 | "files": ["*.ts"], |
|
11 | 10 | }, |
12 | 11 | "extends": [ |
13 | 12 | "eslint:recommended", |
14 | | - "plugin:@typescript-eslint/recommended-requiring-type-checking", |
| 13 | + "plugin:@typescript-eslint/eslint-recommended", |
15 | 14 | "plugin:@angular-eslint/all", |
16 | | - "plugin:prettier/recommended" // This should always be the last in the extends array |
| 15 | + "plugin:prettier/recommended" |
17 | 16 | ], |
18 | 17 | "rules": { |
19 | 18 | "@angular-eslint/sort-ngmodule-metadata-arrays": "off", |
20 | 19 | "@angular-eslint/prefer-on-push-component-change-detection": "off", |
21 | | - "unused-imports/no-unused-imports": "error", |
22 | | - "no-console": ["error", { "allow": ["warn", "error"] }], |
23 | | - "@typescript-eslint/unbound-method": "off" |
| 20 | + "no-console": [ |
| 21 | + "error", |
| 22 | + { |
| 23 | + "allow": ["warn", "error"] |
| 24 | + } |
| 25 | + ], |
| 26 | + "@typescript-eslint/unbound-method": "off", |
| 27 | + "@angular-eslint/sort-lifecycle-methods": "off", |
| 28 | + "no-unused-vars": "off", |
| 29 | + "@typescript-eslint/no-unused-vars": [ |
| 30 | + "error", |
| 31 | + { "argsIgnorePattern": "^_" } |
| 32 | + ], |
| 33 | + "@typescript-eslint/restrict-template-expressions": "off", |
| 34 | + "@angular-eslint/prefer-standalone-component": "off" |
24 | 35 | } |
25 | 36 | }, |
26 | 37 | { |
|
33 | 44 | "eslint:recommended", |
34 | 45 | "plugin:@typescript-eslint/recommended-requiring-type-checking", |
35 | 46 | "plugin:@angular-eslint/all", |
36 | | - "plugin:prettier/recommended" // This should always be the last in the extends array |
| 47 | + "plugin:prettier/recommended" |
37 | 48 | ], |
38 | 49 | "rules": { |
39 | 50 | "@angular-eslint/sort-ngmodule-metadata-arrays": "off", |
40 | 51 | "@angular-eslint/prefer-on-push-component-change-detection": "off", |
41 | | - "unused-imports/no-unused-imports": "error", |
42 | | - "no-console": ["error", { "allow": ["warn", "error"] }], |
| 52 | + "no-console": [ |
| 53 | + "error", |
| 54 | + { |
| 55 | + "allow": ["warn", "error"] |
| 56 | + } |
| 57 | + ], |
43 | 58 | "@typescript-eslint/unbound-method": "off", |
44 | 59 | "@typescript-eslint/no-explicit-any": "off", |
45 | | - "@typescript-eslint/ban-types": "off" |
| 60 | + "@typescript-eslint/ban-types": "off", |
| 61 | + "@angular-eslint/prefer-standalone-component": "off", |
| 62 | + "no-unused-vars": "off", |
| 63 | + "@typescript-eslint/no-unused-vars": [ |
| 64 | + "error", |
| 65 | + { "argsIgnorePattern": "^_" } |
| 66 | + ] |
46 | 67 | } |
47 | 68 | }, |
48 | 69 | { |
49 | 70 | "files": ["*.html"], |
50 | 71 | "extends": [ |
51 | 72 | "plugin:@angular-eslint/template/all", |
52 | | - "plugin:prettier/recommended" // This should always be the last in the extends array |
| 73 | + "plugin:prettier/recommended" |
53 | 74 | ], |
54 | 75 | "rules": { |
55 | 76 | "@angular-eslint/template/i18n": "off", |
|
59 | 80 | "@angular-eslint/template/no-interpolation-in-attributes": "off", |
60 | 81 | "@angular-eslint/template/button-has-type": "off", |
61 | 82 | "@angular-eslint/template/no-inline-styles": "off", |
62 | | - "@angular-eslint/template/accessibility-interactive-supports-focus": "off", |
63 | | - "@angular-eslint/template/attributes-order": "off" |
| 83 | + "@angular-eslint/template/attributes-order": "off", |
| 84 | + "@angular-eslint/template/interactive-supports-focus": "off", |
| 85 | + "@angular-eslint/template/prefer-ngsrc": "off" |
64 | 86 | } |
65 | 87 | } |
66 | 88 | ] |
|
0 commit comments