Skip to content

Commit

Permalink
sonar: delete sonar cloud file
Browse files Browse the repository at this point in the history
  • Loading branch information
maximeperrault authored and maximeperraultdev committed Dec 2, 2024
1 parent 51893c4 commit 156e04a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 18 deletions.
10 changes: 3 additions & 7 deletions .sonarcloud.properties → backend/.sonarcloud.properties
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
# https://docs.sonarcloud.io/advanced-setup/automatic-analysis/#additional-analysis-configuration
sonar.organization=mtes-mct
sonar.projectKey=MTES-MCT_monitorenv
sonar.host.url=https://sonarcloud.io
# Define separate root directories for sources and tests
sonar.sources=backend/src/, frontend/src/
sonar.tests=backend/src/test/, frontend/cypress/, frontend/puppeteer/
sonar.sources=src/
sonar.tests=src/test/
# https://docs.sonarcloud.io/advanced-setup/analysis-scope/
# Exclude Frontend E2E tests from SonarCloud analysis
# Exclude testdata migrations from SonarCloud analysis
sonar.exclusions=frontend/config/**,frontend/cypress/**,frontend/public/**,frontend/puppeteer/**,backend/src/main/resources/db/testdata/**
sonar.exclusions=backend/src/main/resources/db/testdata/**
# Disable rule S100: "Function names should comply with a naming convention" in test files
sonar.issue.ignore.multicriteria=e1,e2
sonar.issue.ignore.multicriteria.e1.ruleKey=kotlin:S100
Expand Down
5 changes: 5 additions & 0 deletions datascience/.sonarcloud.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Define separate root directories for sources and tests
sonar.sources=src/
sonar.tests=tests/
sonar.exclusions=**/tests/*.sql

7 changes: 7 additions & 0 deletions frontend/.sonarcloud.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Define separate root directories for sources and tests
sonar.sources=src/
sonar.tests=cypress/, puppeteer/
# https://docs.sonarcloud.io/advanced-setup/analysis-scope/
# Exclude Frontend E2E tests from SonarCloud analysis
# Exclude testdata migrations from SonarCloud analysis
sonar.exclusions=frontend/config/**,frontend/cypress/**,frontend/public/**,frontend/puppeteer/**
11 changes: 0 additions & 11 deletions sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,3 @@
sonar.organization=mtes-mct
sonar.projectKey=MTES-MCT_monitorenv
sonar.host.url=https://sonarcloud.io
# Define separate root directories for sources and tests
sonar.sources=backend/src/, frontend/src/
sonar.tests=backend/src/test/, frontend/cypress/, frontend/puppeteer/
# https://docs.sonarcloud.io/advanced-setup/analysis-scope/
# Exclude Frontend E2E tests from SonarCloud analysis
# Exclude testdata migrations from SonarCloud analysis
sonar.exclusions=frontend/config/**,frontend/cypress/**,frontend/public/**,frontend/puppeteer/**,backend/src/main/resources/db/testdata/**
# Disable rule S100: "Function names should comply with a naming convention" in test files
sonar.issue.ignore.multicriteria=e1,e2
sonar.issue.ignore.multicriteria.e1.ruleKey=kotlin:S100
sonar.issue.ignore.multicriteria.e1.resourceKey=backend/src/test/**

0 comments on commit 156e04a

Please sign in to comment.