|
1 | 1 | { |
2 | 2 | "root": true, |
3 | | - "ignorePatterns": ["projects/**/*"], |
| 3 | + "ignorePatterns": [ |
| 4 | + "projects/**/*" |
| 5 | + ], |
4 | 6 | "overrides": [ |
5 | 7 | { |
6 | | - "files": ["*.ts"], |
| 8 | + "files": [ |
| 9 | + "*.ts" |
| 10 | + ], |
7 | 11 | "parserOptions": { |
8 | | - "project": ["tsconfig.json"], |
| 12 | + "project": [ |
| 13 | + "tsconfig.json" |
| 14 | + ], |
9 | 15 | "createDefaultProgram": true |
10 | 16 | }, |
11 | 17 | "plugins": [ |
|
73 | 79 | "@typescript-eslint/quotes": "off", |
74 | 80 | "@typescript-eslint/naming-convention": "off", |
75 | 81 | "@typescript-eslint/member-ordering": "off", |
76 | | - "@typescript-eslint/no-shadow": ["error"], |
| 82 | + "@typescript-eslint/no-shadow": [ |
| 83 | + "error" |
| 84 | + ], |
77 | 85 | "@typescript-eslint/no-unused-expressions": "off", |
78 | | - "brace-style": ["error", "1tbs", { "allowSingleLine": true }], |
| 86 | + "brace-style": [ |
| 87 | + "error", |
| 88 | + "1tbs", |
| 89 | + { |
| 90 | + "allowSingleLine": true |
| 91 | + } |
| 92 | + ], |
79 | 93 | "default-case-last": "error", |
80 | 94 | "dot-notation": "off", |
81 | 95 | "id-denylist": "off", |
82 | 96 | "id-match": "off", |
83 | | - "complexity": ["error", { "max": 8 }], |
| 97 | + "complexity": [ |
| 98 | + "error", |
| 99 | + { |
| 100 | + "max": 8 |
| 101 | + } |
| 102 | + ], |
84 | 103 | "max-len": [ |
85 | 104 | "error", |
86 | 105 | { |
|
133 | 152 | "rxjs-angular/prefer-takeuntil": [ |
134 | 153 | "error", |
135 | 154 | { |
136 | | - "alias": ["untilDestroyed"], |
| 155 | + "alias": [ |
| 156 | + "untilDestroyed" |
| 157 | + ], |
137 | 158 | "checkComplete": true, |
138 | | - "checkDecorators": ["Component"], |
| 159 | + "checkDecorators": [ |
| 160 | + "Component" |
| 161 | + ], |
139 | 162 | "checkDestroy": false |
140 | 163 | } |
141 | 164 | ] |
142 | 165 | } |
143 | 166 | }, |
144 | 167 | { |
145 | | - "files": ["*.html"], |
146 | | - "extends": ["plugin:@angular-eslint/template/recommended"], |
| 168 | + "files": [ |
| 169 | + "*.html" |
| 170 | + ], |
| 171 | + "extends": [ |
| 172 | + "plugin:@angular-eslint/template/recommended" |
| 173 | + ], |
147 | 174 | "rules": { |
148 | 175 | "@angular-eslint/template/no-call-expression": "error", |
149 | 176 | "@angular-eslint/template/no-any": "error", |
150 | 177 | "@angular-eslint/template/no-autofocus": "error", |
151 | 178 | "@angular-eslint/template/no-distracting-elements": "error", |
152 | | - "@angular-eslint/template/accessibility-alt-text": "error", |
153 | 179 | "@angular-eslint/template/no-positive-tabindex": "error", |
154 | 180 | "@angular-eslint/template/no-negated-async": "error", |
155 | | - "@angular-eslint/template/accessibility-valid-aria": "error", |
156 | | - "@angular-eslint/template/accessibility-elements-content": "error", |
157 | | - "@angular-eslint/template/accessibility-label-for": "error", |
158 | 181 | "@angular-eslint/template/click-events-have-key-events": "error", |
159 | 182 | "@angular-eslint/template/mouse-events-have-key-events": "error", |
160 | | - "@angular-eslint/template/accessibility-table-scope": "error", |
161 | 183 | "@angular-eslint/template/conditional-complexity": "error", |
162 | 184 | "@angular-eslint/template/use-track-by-function": "error", |
163 | | - "@angular-eslint/template/i18n": "off" |
| 185 | + "@angular-eslint/template/i18n": "off", |
| 186 | + "@angular-eslint/template/alt-text": "error", |
| 187 | + "@angular-eslint/template/valid-aria": "error", |
| 188 | + "@angular-eslint/template/elements-content": "error", |
| 189 | + "@angular-eslint/template/label-for": "error", |
| 190 | + "@angular-eslint/template/table-scope": "error" |
164 | 191 | } |
165 | 192 | } |
166 | 193 | ] |
|
0 commit comments