Skip to content

Commit

Permalink
feat: update onecx libs v5 angular v18 (#186)
Browse files Browse the repository at this point in the history
* feat: update onecx libs v5 and angular 18

* fix: update onecx lib

* fix: some fixes

* fix: package json add caret

* fix: update onecx libs

---------

Co-authored-by: kim.tran <[email protected]>
  • Loading branch information
KimFFVII and kim.tran authored Jul 29, 2024
1 parent 380dc04 commit 06f5f04
Show file tree
Hide file tree
Showing 23 changed files with 15,515 additions and 21,410 deletions.
19 changes: 16 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@
"ecmaVersion": "latest",
"project": "**/tsconfig.json",
"tsconfigRootDir": "",
"createDefaultProgram": true
"createDefaultProgram": true,
"EXPERIMENTAL_useProjectService": true
},
"extends": [
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates",
"plugin:prettier/recommended"
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"semi": ["error", "never"],
Expand All @@ -58,7 +60,18 @@
}
],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error", { "vars": "all", "args": "none" }]
"@typescript-eslint/no-unused-vars": ["error", { "vars": "all", "args": "none" }],
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/ban-types": [
"error",
{
"extendDefaults": true,
"types": {
"{}": false
}
}
],
"@typescript-eslint/no-var-requires": 0
}
},
{
Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

echo "[Husky] Running lint check:"
npm run lint
echo "[Husky] Running prettier check:"
Expand Down
2 changes: 1 addition & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"styles": [
"node_modules/primeicons/primeicons.css",
"node_modules/primeng/resources/primeng.min.css",
"node_modules/@onecx/portal-integration-angular/assets/output.css",
"node_modules/@onecx/portal-integration-angular/assets/styles.scss",
"src/styles.scss"
],
"scripts": ["node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js"],
Expand Down
Loading

0 comments on commit 06f5f04

Please sign in to comment.