Skip to content

Commit

Permalink
feat(ref: no-ref): add autoCsp, change ts config
Browse files Browse the repository at this point in the history
  • Loading branch information
andriikamaldinov1 committed Nov 29, 2024
1 parent 72f4d39 commit 7e6ba5f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"build": {
"builder": "@angular-devkit/build-angular:application",
"options": {
"security": { "autoCsp": true },
"outputPath": "dist/ngx-copypaste",
"browser": "src/main.ts",
"index": "src/index.html",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"checks": {
"invalidBananaInBox": "error",
"nullishCoalescingNotNullable": "warning",
"unusedStandaloneImports": "suppress"
"unusedStandaloneImports": "error"
},
"defaultCategory": "suppress"
}
Expand Down

0 comments on commit 7e6ba5f

Please sign in to comment.