Skip to content

Commit 45ddeb8

Browse files
committed
feat(angular16): updates @angular-eslint/schematics dependency
1 parent c8109ef commit 45ddeb8

3 files changed

Lines changed: 3974 additions & 2728 deletions

File tree

.eslintrc.json

Lines changed: 43 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
{
22
"root": true,
3-
"ignorePatterns": ["projects/**/*"],
3+
"ignorePatterns": [
4+
"projects/**/*"
5+
],
46
"overrides": [
57
{
6-
"files": ["*.ts"],
8+
"files": [
9+
"*.ts"
10+
],
711
"parserOptions": {
8-
"project": ["tsconfig.json"],
12+
"project": [
13+
"tsconfig.json"
14+
],
915
"createDefaultProgram": true
1016
},
1117
"plugins": [
@@ -73,14 +79,27 @@
7379
"@typescript-eslint/quotes": "off",
7480
"@typescript-eslint/naming-convention": "off",
7581
"@typescript-eslint/member-ordering": "off",
76-
"@typescript-eslint/no-shadow": ["error"],
82+
"@typescript-eslint/no-shadow": [
83+
"error"
84+
],
7785
"@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+
],
7993
"default-case-last": "error",
8094
"dot-notation": "off",
8195
"id-denylist": "off",
8296
"id-match": "off",
83-
"complexity": ["error", { "max": 8 }],
97+
"complexity": [
98+
"error",
99+
{
100+
"max": 8
101+
}
102+
],
84103
"max-len": [
85104
"error",
86105
{
@@ -133,34 +152,42 @@
133152
"rxjs-angular/prefer-takeuntil": [
134153
"error",
135154
{
136-
"alias": ["untilDestroyed"],
155+
"alias": [
156+
"untilDestroyed"
157+
],
137158
"checkComplete": true,
138-
"checkDecorators": ["Component"],
159+
"checkDecorators": [
160+
"Component"
161+
],
139162
"checkDestroy": false
140163
}
141164
]
142165
}
143166
},
144167
{
145-
"files": ["*.html"],
146-
"extends": ["plugin:@angular-eslint/template/recommended"],
168+
"files": [
169+
"*.html"
170+
],
171+
"extends": [
172+
"plugin:@angular-eslint/template/recommended"
173+
],
147174
"rules": {
148175
"@angular-eslint/template/no-call-expression": "error",
149176
"@angular-eslint/template/no-any": "error",
150177
"@angular-eslint/template/no-autofocus": "error",
151178
"@angular-eslint/template/no-distracting-elements": "error",
152-
"@angular-eslint/template/accessibility-alt-text": "error",
153179
"@angular-eslint/template/no-positive-tabindex": "error",
154180
"@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",
158181
"@angular-eslint/template/click-events-have-key-events": "error",
159182
"@angular-eslint/template/mouse-events-have-key-events": "error",
160-
"@angular-eslint/template/accessibility-table-scope": "error",
161183
"@angular-eslint/template/conditional-complexity": "error",
162184
"@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"
164191
}
165192
}
166193
]

0 commit comments

Comments
 (0)