Skip to content

Commit

Permalink
Sonar: ignore Sections of code should not be commented out
Browse files Browse the repository at this point in the history
  • Loading branch information
qmonmert committed Oct 27, 2024
1 parent b9d761a commit 7aa6404
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ sonar.exclusions=\
src/main/webapp/app/index.tsx,\
src/main/webapp/main.ts

sonar.issue.ignore.multicriteria=S117,S119,S125,S3437,S4502,S4684,S4032,S5778,S1133,S6206,S6437,S6564,UndocumentedApi,S2301,S7027
sonar.issue.ignore.multicriteria=S117,S119,S125,S3437,S4502,S4684,S4032,S5778,S1133,S6206,S6437,S6564,UndocumentedApi,S2301,S7027,S125

# Rule: Local variable and method parameter names should comply with a naming convention
# Handled with checkstyle. Should be revisited with java 25 once Unnamed Patterns and Variables are available (JEP 443)
Expand Down Expand Up @@ -87,3 +87,7 @@ sonar.issue.ignore.multicriteria.S2301.ruleKey=typescript:S2301
# Rule: Circular dependencies between classes in the same package should be resolved
sonar.issue.ignore.multicriteria.S7027.resourceKey=src/**/java/**/*
sonar.issue.ignore.multicriteria.S7027.ruleKey=javaarchitecture:S7027

# Rule: Sections of code should not be commented out
sonar.issue.ignore.multicriteria.S125.resourceKey = src/main/resources/logback-spring.xml
sonar.issue.ignore.multicriteria.S125.ruleKey = xml:S125
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ sonar.exclusions=\
src/main/webapp/app/index.tsx,\
src/main/webapp/main.ts

sonar.issue.ignore.multicriteria=S117,S119,S125,S3437,S4502,S4684,S4032,S5778,S1133,S6206,S6548,S6437,S6471,UndocumentedApi,S2301,S7027
sonar.issue.ignore.multicriteria=S117,S119,S125,S3437,S4502,S4684,S4032,S5778,S1133,S6206,S6548,S6437,S6471,UndocumentedApi,S2301,S7027,S125

# Rule: Local variable and method parameter names should comply with a naming convention
# Handled with checkstyle. Should be revisited with java 25 once Unnamed Patterns and Variables are available (JEP 443)
Expand Down Expand Up @@ -87,3 +87,7 @@ sonar.issue.ignore.multicriteria.S2301.ruleKey=typescript:S2301
# Rule: Circular dependencies between classes in the same package should be resolved
sonar.issue.ignore.multicriteria.S7027.resourceKey=src/**/java/**/*
sonar.issue.ignore.multicriteria.S7027.ruleKey=javaarchitecture:S7027

# Rule: Sections of code should not be commented out
sonar.issue.ignore.multicriteria.S125.resourceKey = src/main/resources/logback-spring.xml
sonar.issue.ignore.multicriteria.S125.ruleKey = xml:S125

0 comments on commit 7aa6404

Please sign in to comment.