Skip to content

Commit

Permalink
Disabling false sonarcloud duplication warnings
Browse files Browse the repository at this point in the history
Adding shields to README.md
  • Loading branch information
tomaytotomato committed Jul 26, 2024
1 parent 5441791 commit d03f9a5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# location4j 🌎4️⃣♨️

![GitHub branch status](https://img.shields.io/github/checks-status/tomaytotomato/location4j/master)
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/tomaytotomato/location4j/master.yml)
![GitHub branch status](https://img.shields.io/github/checks-status/tomaytotomato/location4j/master)
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=tomaytotomato_location4j&metric=bugs)](https://sonarcloud.io/summary/new_code?id=tomaytotomato_location4j)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=tomaytotomato_location4j&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=tomaytotomato_location4j)
![GitHub commit activity](https://img.shields.io/github/commit-activity/m/tomaytotomato/location4j)
![GitHub License](https://img.shields.io/github/license/tomaytotomato/location4j)

Expand Down
8 changes: 8 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
sonar.projectKey=tomaytotomato_location4j
sonar.organization=tomaytotomato
sonar.host.url=https://sonarcloud.io

# Add specific exclusions for duplication checks
sonar.issue.ignore.multicriteria=e1
sonar.issue.ignore.multicriteria.e1.ruleKey=squid:S00122 # Replace with the specific rule key for duplication
sonar.issue.ignore.multicriteria.e1.resourceKey=src/main/java/com/tomaytotomato/model/**

0 comments on commit d03f9a5

Please sign in to comment.