Skip to content

Commit 58e4727

Browse files
committed
feat: Update to Angular 16
BREAKING CHANGE: Angular 15 no longer supported fix ts version Update to Angular 16
1 parent 38462c7 commit 58e4727

62 files changed

Lines changed: 9989 additions & 7481 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.json

Lines changed: 35 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"root": true,
33
"ignorePatterns": ["projects/**/*"],
4-
"plugins": ["unused-imports"],
54
"overrides": [
65
{
76
"files": ["*.ts"],
@@ -11,16 +10,28 @@
1110
},
1211
"extends": [
1312
"eslint:recommended",
14-
"plugin:@typescript-eslint/recommended-requiring-type-checking",
13+
"plugin:@typescript-eslint/eslint-recommended",
1514
"plugin:@angular-eslint/all",
16-
"plugin:prettier/recommended" // This should always be the last in the extends array
15+
"plugin:prettier/recommended"
1716
],
1817
"rules": {
1918
"@angular-eslint/sort-ngmodule-metadata-arrays": "off",
2019
"@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"
2435
}
2536
},
2637
{
@@ -33,23 +44,33 @@
3344
"eslint:recommended",
3445
"plugin:@typescript-eslint/recommended-requiring-type-checking",
3546
"plugin:@angular-eslint/all",
36-
"plugin:prettier/recommended" // This should always be the last in the extends array
47+
"plugin:prettier/recommended"
3748
],
3849
"rules": {
3950
"@angular-eslint/sort-ngmodule-metadata-arrays": "off",
4051
"@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+
],
4358
"@typescript-eslint/unbound-method": "off",
4459
"@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+
]
4667
}
4768
},
4869
{
4970
"files": ["*.html"],
5071
"extends": [
5172
"plugin:@angular-eslint/template/all",
52-
"plugin:prettier/recommended" // This should always be the last in the extends array
73+
"plugin:prettier/recommended"
5374
],
5475
"rules": {
5576
"@angular-eslint/template/i18n": "off",
@@ -59,8 +80,9 @@
5980
"@angular-eslint/template/no-interpolation-in-attributes": "off",
6081
"@angular-eslint/template/button-has-type": "off",
6182
"@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"
6486
}
6587
}
6688
]

0 commit comments

Comments
 (0)