Skip to content

Commit 17b4330

Browse files
authored
Angular 20 upgrade (valor-software#6757)
* chore: upgrade to angular 20 * chore: update eslint config
1 parent bdac5d0 commit 17b4330

File tree

77 files changed

+11496
-10621
lines changed

Some content is hidden

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

77 files changed

+11496
-10621
lines changed

.eslintrc.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,22 @@
2525
},
2626
{
2727
"files": ["*.ts", "*.tsx"],
28-
"extends": ["plugin:@nx/typescript"],
28+
"extends": ["plugin:@nx/typescript", "plugin:@nx/angular"],
2929
"parserOptions": {
3030
"project": "./tsconfig.*?.json"
3131
},
3232
"rules": {
3333
"semi": "off",
34-
"@typescript-eslint/semi": ["error"],
35-
"@typescript-eslint/no-extra-semi": "error",
3634
"no-extra-semi": "off",
37-
"@angular-eslint/prefer-standalone": [
38-
"off"
39-
]
35+
"@typescript-eslint/no-unused-expressions": "off",
36+
"@angular-eslint/prefer-standalone": "off",
37+
"@angular-eslint/prefer-inject": "off"
4038
}
4139
},
4240
{
4341
"files": ["*.js", "*.jsx"],
4442
"extends": ["plugin:@nx/javascript"],
4543
"rules": {
46-
"@typescript-eslint/no-extra-semi": "error",
4744
"no-extra-semi": "off"
4845
}
4946
}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ Here is the version compatibility list:
179179

180180
| ngx-bootstrap | Angular | Bootstrap CSS |
181181
|---------------|-----------------| ----------------------- |
182+
| 20.x.x | 20.x.x | 5.x.x or 4.x.x |
182183
| 19.x.x | 19.x.x | 5.x.x or 4.x.x |
183184
| 18.x.x | 18.x.x | 5.x.x or 4.x.x |
184185
| 12.x.x | 17.x.x | 5.x.x or 4.x.x |

apps/ngx-bootstrap-docs/.eslintrc.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"*.ts"
1313
],
1414
"extends": [
15-
"plugin:@nx/angular",
1615
"plugin:@angular-eslint/template/process-inline-templates"
1716
],
1817
"parserOptions": {
@@ -37,9 +36,6 @@
3736
"style": "kebab-case"
3837
}
3938
],
40-
"@angular-eslint/prefer-standalone": [
41-
"off"
42-
],
4339
"@typescript-eslint/no-explicit-any": 0,
4440
"@angular-eslint/component-class-suffix": 0,
4541
"@angular-eslint/no-output-on-prefix": 0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "19.0.4"
2+
"version": "20.0.0"
33
}

libs/common-docs/.eslintrc.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"*.ts"
1212
],
1313
"extends": [
14-
"plugin:@nx/angular",
1514
"plugin:@angular-eslint/template/process-inline-templates"
1615
],
1716
"parserOptions": {
@@ -35,9 +34,6 @@
3534
"prefix": "ngx-bootstrap-base",
3635
"style": "kebab-case"
3736
}
38-
],
39-
"@angular-eslint/prefer-standalone": [
40-
"off"
4137
]
4238
}
4339
},

libs/doc-pages/accordion/.eslintrc.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"*.ts"
1212
],
1313
"extends": [
14-
"plugin:@nx/angular",
1514
"plugin:@angular-eslint/template/process-inline-templates"
1615
],
1716
"parserOptions": {
@@ -35,9 +34,6 @@
3534
"prefix": "ngx-bootstrap-base",
3635
"style": "kebab-case"
3736
}
38-
],
39-
"@angular-eslint/prefer-standalone": [
40-
"off"
4137
]
4238
}
4339
},

libs/doc-pages/alerts/.eslintrc.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"*.ts"
1212
],
1313
"extends": [
14-
"plugin:@nx/angular",
1514
"plugin:@angular-eslint/template/process-inline-templates"
1615
],
1716
"parserOptions": {
@@ -35,9 +34,6 @@
3534
"prefix": "ngx-bootstrap-base",
3635
"style": "kebab-case"
3736
}
38-
],
39-
"@angular-eslint/prefer-standalone": [
40-
"off"
4137
]
4238
}
4339
},

libs/doc-pages/buttons/.eslintrc.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"*.ts"
1212
],
1313
"extends": [
14-
"plugin:@nx/angular",
1514
"plugin:@angular-eslint/template/process-inline-templates"
1615
],
1716
"parserOptions": {
@@ -35,9 +34,6 @@
3534
"prefix": "ngx-bootstrap-base",
3635
"style": "kebab-case"
3736
}
38-
],
39-
"@angular-eslint/prefer-standalone": [
40-
"off"
4137
]
4238
}
4339
},

libs/doc-pages/carousel/.eslintrc.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"*.ts"
1212
],
1313
"extends": [
14-
"plugin:@nx/angular",
1514
"plugin:@angular-eslint/template/process-inline-templates"
1615
],
1716
"parserOptions": {
@@ -35,9 +34,6 @@
3534
"prefix": "ngx-bootstrap-base",
3635
"style": "kebab-case"
3736
}
38-
],
39-
"@angular-eslint/prefer-standalone": [
40-
"off"
4137
]
4238
}
4339
},

libs/doc-pages/collapse/.eslintrc.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
"*.ts"
1212
],
1313
"extends": [
14-
"plugin:@nx/angular",
1514
"plugin:@angular-eslint/template/process-inline-templates"
1615
],
1716
"parserOptions": {
@@ -35,9 +34,6 @@
3534
"prefix": "ngx-bootstrap-base",
3635
"style": "kebab-case"
3736
}
38-
],
39-
"@angular-eslint/prefer-standalone": [
40-
"off"
4137
]
4238
}
4339
},

0 commit comments

Comments
 (0)