From e2592d15518a1cfb45785f36715c66ead9c2c30e Mon Sep 17 00:00:00 2001 From: Ari Palo Date: Tue, 19 Nov 2024 16:27:13 +0200 Subject: [PATCH] chore: ignore @deprecated use in sonar for smartstack/tags --- .projenrc.ts | 3 +++ sonar-project.properties | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.projenrc.ts b/.projenrc.ts index 8a6972e..4a8ca34 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -107,6 +107,9 @@ new TextFile(project, 'sonar-project.properties', { 'sonar.sources=./src', 'sonar.tests=./test', 'sonar.test.inclusions=**/*.test.*', + "sonar.issue.ignore.multicriteria=e1", + "sonar.issue.ignore.multicriteria.e1.ruleKey=typescript:S1874", + "sonar.issue.ignore.multicriteria.e1.resourceKey=src/smartstack/tags/*.ts", ], }); diff --git a/sonar-project.properties b/sonar-project.properties index 704077b..ee4e9be 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -4,4 +4,7 @@ sonar.organization=alma-cdk sonar.javascript.lcov.reportPaths=./coverage/lcov.info sonar.sources=./src sonar.tests=./test -sonar.test.inclusions=**/*.test.* \ No newline at end of file +sonar.test.inclusions=**/*.test.* +sonar.issue.ignore.multicriteria=e1 +sonar.issue.ignore.multicriteria.e1.ruleKey=typescript:S1874 +sonar.issue.ignore.multicriteria.e1.resourceKey=src/smartstack/tags/*.ts \ No newline at end of file