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
feat(ref: no-ref): add autoCsp, change ts config
  • Loading branch information
andriikamaldinov1 authored Nov 29, 2024
2 parents 72f4d39 + 7e6ba5f commit 6698fdc
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 6698fdc

Please sign in to comment.