Skip to content

Commit

Permalink
revert: sonar config
Browse files Browse the repository at this point in the history
  • Loading branch information
maximeperrault committed Dec 4, 2024
1 parent 2c2579c commit af16f1e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 23 deletions.
11 changes: 0 additions & 11 deletions backend/.sonarcloud.properties

This file was deleted.

5 changes: 0 additions & 5 deletions datascience/.sonarcloud.properties

This file was deleted.

7 changes: 0 additions & 7 deletions frontend/.sonarcloud.properties

This file was deleted.

11 changes: 11 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,14 @@
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 af16f1e

Please sign in to comment.