From 7e6ba5f7258f3c8df8d22f89f853efd39953592a Mon Sep 17 00:00:00 2001 From: andriikamaldinov1 Date: Fri, 29 Nov 2024 15:59:50 +0200 Subject: [PATCH] feat(ref: no-ref): add autoCsp, change ts config --- angular.json | 1 + src/libraries | 2 +- tsconfig.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/angular.json b/angular.json index ec07410..38ca729 100644 --- a/angular.json +++ b/angular.json @@ -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", diff --git a/src/libraries b/src/libraries index 44bebdf..158eddb 160000 --- a/src/libraries +++ b/src/libraries @@ -1 +1 @@ -Subproject commit 44bebdfba90c6534af67bf84d5f90f8f1b0b343b +Subproject commit 158eddb9ea79ca05967268021029ecdf096c23bb diff --git a/tsconfig.json b/tsconfig.json index f18af41..bd4fb1b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -46,7 +46,7 @@ "checks": { "invalidBananaInBox": "error", "nullishCoalescingNotNullable": "warning", - "unusedStandaloneImports": "suppress" + "unusedStandaloneImports": "error" }, "defaultCategory": "suppress" }