Skip to content

Commit

Permalink
Feat/angular 17 (#41)
Browse files Browse the repository at this point in the history
feat(angular): update project to Angular 17

BREAKING CHANGE: Requires at least Angular 17.0 and rxjs 7.8.0.
  • Loading branch information
fh1ch authored Dec 18, 2023
1 parent 0420d1e commit d6e8c3a
Show file tree
Hide file tree
Showing 6 changed files with 14,137 additions and 10,108 deletions.
6 changes: 3 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "ngx-datatable:build"
"buildTarget": "ngx-datatable:build"
},
"configurations": {
"production": {
"browserTarget": "ngx-datatable:build:production"
"buildTarget": "ngx-datatable:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "ngx-datatable:build"
"buildTarget": "ngx-datatable:build"
}
},
"test": {
Expand Down
14 changes: 10 additions & 4 deletions eslint-config-angular-typescript-base.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": [
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
"plugin:@angular-eslint/template/process-inline-templates",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"allowAutomaticSingleRunInference": true
Expand All @@ -23,7 +24,7 @@
"indent": "off",
"keyword-spacing": "off",
"no-shadow": "off",
"no-duplicate-imports": "off",
"no-duplicate-imports": "error",
"no-redeclare": "off",
"no-underscore-dangle": "off",
"@angular-eslint/no-input-rename": "off",
Expand All @@ -38,14 +39,17 @@
"@typescript-eslint/keyword-spacing": "error",
"@typescript-eslint/member-ordering": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-duplicate-imports": "error",
"@typescript-eslint/no-non-null-asserted-optional-chain": "error",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-redeclare": "error",
"@typescript-eslint/no-require-imports": "error",
"@typescript-eslint/no-shadow": ["error", { "ignoreTypeValueShadow": true }],
"@typescript-eslint/no-var-requires": "error",
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/triple-slash-reference": "off",
"@typescript-eslint/no-this-alias": "off",

"array-bracket-spacing": "error",
"arrow-parens": [
Expand All @@ -69,6 +73,8 @@
"semi-spacing": "error",
"space-in-parens": "error",
"space-infix-ops": "error",
"sort-imports": ["error", { "ignoreCase": true, "ignoreDeclarationSort": true }]
"sort-imports": ["error", { "ignoreCase": true, "ignoreDeclarationSort": true }],
"prefer-spread": "off",
"prefer-rest-params": "off"
}
}
Loading

0 comments on commit d6e8c3a

Please sign in to comment.