You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.7 KiB

3 years ago
  1. sonar.projectKey=skills
  2. sonar.projectName=skills generated by jhipster
  3. sonar.projectVersion=1.0
  4. sonar.sources=src/main/
  5. sonar.host.url=http://localhost:9001
  6. sonar.tests=src/test/
  7. sonar.coverage.jacoco.xmlReportPaths=build/reports/jacoco/test/jacocoTestReport.xml
  8. sonar.java.codeCoveragePlugin=jacoco
  9. sonar.junit.reportPaths=build/test-results/test,build/test-results/integrationTest
  10. sonar.sourceEncoding=UTF-8
  11. sonar.exclusions=src/main/webapp/content/**/*.*, src/main/webapp/i18n/*.js, build/resources/main/static/**/*.*
  12. sonar.issue.ignore.multicriteria=S3437,S4502,S4684,UndocumentedApi
  13. # Rule https://sonarcloud.io/coding_rules?open=squid%3AS3437&rule_key=squid%3AS3437 is ignored, as a JPA-managed field cannot be transient
  14. sonar.issue.ignore.multicriteria.S3437.resourceKey=src/main/java/**/*
  15. sonar.issue.ignore.multicriteria.S3437.ruleKey=squid:S3437
  16. # Rule https://sonarcloud.io/coding_rules?open=squid%3AUndocumentedApi&rule_key=squid%3AUndocumentedApi is ignored, as we want to follow "clean code" guidelines and classes, methods and arguments names should be self-explanatory
  17. sonar.issue.ignore.multicriteria.UndocumentedApi.resourceKey=src/main/java/**/*
  18. sonar.issue.ignore.multicriteria.UndocumentedApi.ruleKey=squid:UndocumentedApi
  19. # Rule https://sonarcloud.io/coding_rules?open=squid%3AS4502&rule_key=squid%3AS4502 is ignored, as for JWT tokens we are not subject to CSRF attack
  20. sonar.issue.ignore.multicriteria.S4502.resourceKey=src/main/java/**/*
  21. sonar.issue.ignore.multicriteria.S4502.ruleKey=squid:S4502
  22. # Rule https://sonarcloud.io/coding_rules?open=java%3AS4684&rule_key=java%3AS4684
  23. sonar.issue.ignore.multicriteria.S4684.resourceKey=src/main/java/**/*
  24. sonar.issue.ignore.multicriteria.S4684.ruleKey=java:S4684