Skip to content

Commit

Permalink
[Tech] Met à jour les exclusion dans la config SonarCloud (#2939)
Browse files Browse the repository at this point in the history
## Linked issues

None

----

- [ ] Tests E2E (Cypress)
  • Loading branch information
ivangabriele authored Feb 15, 2024
2 parents 0c557a0 + d125042 commit a037038
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .sonarcloud.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# https://docs.sonarcloud.io/advanced-setup/automatic-analysis/#additional-analysis-configuration

sonar.organization = mtes-mct
sonar.projectKey = MTES-MCT_monitorfish
sonar.host.url = https://sonarcloud.io
sonar.organization=mtes-mct
sonar.projectKey=MTES-MCT_monitorfish
sonar.host.url=https://sonarcloud.io

# https://docs.sonarcloud.io/advanced-setup/analysis-scope/
# Exclude Frontend E2E tests from SonarCloud analysis
sonar.exclusions = frontend/cypress/e2e/**/*
sonar.exclusions=frontend/__mocks__/**,frontend/config/**,frontend/cypress/**,frontend/public/**,frontend/puppeteer/**,frontend/scripts/**,frontend/src/**/__tests__/**
# Exclude code duplication detection from SonarCloud analysis
sonar.cpd.exclusions = **/*
sonar.cpd.exclusions=**/*
11 changes: 11 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# https://docs.sonarcloud.io/advanced-setup/automatic-analysis/#additional-analysis-configuration

sonar.organization=mtes-mct
sonar.projectKey=MTES-MCT_monitorfish
sonar.host.url=https://sonarcloud.io

# https://docs.sonarcloud.io/advanced-setup/analysis-scope/
# Exclude Frontend E2E tests from SonarCloud analysis
sonar.exclusions=frontend/__mocks__/**,frontend/config/**,frontend/cypress/**,frontend/public/**,frontend/puppeteer/**,frontend/scripts/**,frontend/src/**/__tests__/**
# Exclude code duplication detection from SonarCloud analysis
sonar.cpd.exclusions=**/*

0 comments on commit a037038

Please sign in to comment.