Skip to content

Commit cefbec1

Browse files
committed
feat: upgrade to Angular 17
BREAKING CHANGE: Anuglar 15 and 16 are no longer supported (these versions are no longer supported by Angular itself https://angular.dev/reference/releases#actively-supported-versions)
1 parent b64baf1 commit cefbec1

File tree

138 files changed

+11877
-9167
lines changed

Some content is hidden

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

138 files changed

+11877
-9167
lines changed

.eslintrc.json

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,27 @@
1313
"eslint:recommended",
1414
"plugin:@typescript-eslint/recommended-requiring-type-checking",
1515
"plugin:@angular-eslint/all",
16-
"plugin:prettier/recommended" // This should always be the last in the extends array
16+
"plugin:prettier/recommended"
1717
],
1818
"rules": {
1919
"@angular-eslint/sort-ngmodule-metadata-arrays": "off",
2020
"@angular-eslint/prefer-on-push-component-change-detection": "off",
2121
"unused-imports/no-unused-imports": "error",
22-
"no-console": ["error", { "allow": ["warn", "error"] }],
23-
"@typescript-eslint/unbound-method": "off"
22+
"no-console": [
23+
"error",
24+
{
25+
"allow": ["warn", "error"]
26+
}
27+
],
28+
"@typescript-eslint/unbound-method": "off",
29+
"@angular-eslint/prefer-standalone-component": "off",
30+
"@typescript-eslint/no-unused-expressions": [
31+
"error",
32+
{
33+
"allowShortCircuit": true,
34+
"allowTernary": true
35+
}
36+
]
2437
}
2538
},
2639
{
@@ -33,23 +46,31 @@
3346
"eslint:recommended",
3447
"plugin:@typescript-eslint/recommended-requiring-type-checking",
3548
"plugin:@angular-eslint/all",
36-
"plugin:prettier/recommended" // This should always be the last in the extends array
49+
"plugin:prettier/recommended"
3750
],
3851
"rules": {
3952
"@angular-eslint/sort-ngmodule-metadata-arrays": "off",
4053
"@angular-eslint/prefer-on-push-component-change-detection": "off",
4154
"unused-imports/no-unused-imports": "error",
42-
"no-console": ["error", { "allow": ["warn", "error"] }],
55+
"no-console": [
56+
"error",
57+
{
58+
"allow": ["warn", "error"]
59+
}
60+
],
4361
"@typescript-eslint/unbound-method": "off",
4462
"@typescript-eslint/no-explicit-any": "off",
45-
"@typescript-eslint/ban-types": "off"
63+
"@typescript-eslint/ban-types": "off",
64+
"@angular-eslint/prefer-standalone-component": "off",
65+
"@typescript-eslint/no-unsafe-function-type": "off",
66+
"@typescript-eslint/no-unsafe-call": "off"
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,10 @@
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+
// stream-chat-css takes care of image sizing for us
86+
"@angular-eslint/template/prefer-ngsrc": "off"
6487
}
6588
}
6689
]

0 commit comments

Comments
 (0)