From cfa89e1a913213dfc60e57df8b77e3fd20df8f33 Mon Sep 17 00:00:00 2001 From: Simon Demaziere Date: Tue, 5 Dec 2023 14:06:53 +0100 Subject: [PATCH] chore: sonar configuration --- package.json | 2 +- sonar-project.properties | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 sonar-project.properties diff --git a/package.json b/package.json index 105fe57..1374aed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sonor", - "version": "0.5.20", + "version": "0.5.21", "private": true, "dependencies": { "@testing-library/jest-dom": "^4.2.4", diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..63c4b02 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,6 @@ +# Sonar keys +sonar.projectKey=InseeFr_Sonor +sonar.organization=inseefr + +# exclude tests files for code duplication evaluation +sonar.exclusions=src/tests/**/*,src/components/**/__snapshots__/* \ No newline at end of file