From ad6e30df6fc016b66b478b08c6795518334f8884 Mon Sep 17 00:00:00 2001 From: Piotr Czeglik Date: Tue, 25 Jun 2024 17:42:14 +0200 Subject: [PATCH] chore: configure sonarcloud --- README.md | 5 +++++ sonar-project.properties | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 sonar-project.properties diff --git a/README.md b/README.md index 8c48bcd..5872aa3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # Lace UI toolkit +[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=input-output-hk_lace-ui-toolkit&metric=alert_status&token=98802db7b585471a39ab75e8baf01cff96c561db)](https://sonarcloud.io/summary/new_code?id=input-output-hk_lace-ui-toolkit) +[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=input-output-hk_lace-ui-toolkit&metric=coverage&token=98802db7b585471a39ab75e8baf01cff96c561db)](https://sonarcloud.io/summary/new_code?id=input-output-hk_lace-ui-toolkit) +[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=input-output-hk_lace-ui-toolkit&metric=security_rating&token=98802db7b585471a39ab75e8baf01cff96c561db)](https://sonarcloud.io/summary/new_code?id=input-output-hk_lace-ui-toolkit) +[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=input-output-hk_lace-ui-toolkit&metric=vulnerabilities&token=98802db7b585471a39ab75e8baf01cff96c561db)](https://sonarcloud.io/summary/new_code?id=input-output-hk_lace-ui-toolkit) + ## Getting Started ### Prerequisites diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..b3d86b9 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,10 @@ +sonar.projectKey=input-output-hk_lace-ui-toolkit +sonar.organization=input-output-hk + +sonar.projectName=Lace UI Toolkit +sonar.projectVersion=1.0 + +sonar.inclusions=src/**/* +sonar.exclusions=node_modules/**/* + +sonar.sourceEncoding=UTF-8