Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id 'java'
id "com.diffplug.spotless" version "6.11.0"
id "org.sonarqube" version "3.5.0.2730"
id "name.remal.sonarlint" version "1.5.0"
id "name.remal.sonarlint" version "2.0.0"
}

group 'org.togetherjava'
Expand Down Expand Up @@ -52,15 +52,11 @@ subprojects {
}

// sonarlint configuration, not to be confused with sonarqube/sonarcloud.
sonarlint {
excludes {
// Disables "Track uses of "TO-DO" tags" rule.
message 'java:S1135'

// Disables "Regular expressions should not overflow the stack" rule.
// https://sonarcloud.io/project/issues?id=Together-Java_TJ-Bot&issues=AXvleoajNC7zjjhmSufQ&open=AXvleoajNC7zjjhmSufQ
// https://sonarcloud.io/project/issues?id=Together-Java_TJ-Bot&issues=AXvleoX5NC7zjjhmSufP&open=AXvleoX5NC7zjjhmSufP
message 'java:S5998'
sonarLint {
rules {
disable(
'java:S1135' // Disables "Track uses of "TO-DO" tags" rule.
)
}
}

Expand Down