Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .baseline/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,11 @@
<property name="format" value="^\s*(public\s+)?(abstract\s+)?class\s+[A-Za-z0-9]*Test(\s|&lt;)"/>
<property name="message" value="Test class names should start with 'Test' prefix, not end with 'Test' suffix. Example: 'TestNewFeature' instead of 'NewFeatureTest'"/>
</module>
<module name="RegexpSinglelineJava">
<property name="ignoreComments" value="true"/>
<property name="format" value="String::to(Lower|Upper)Case"/>
<property name="message" value="Use toLowerCase(Locale)/toUpperCase(Locale) instead of no-arg versions or method references. Prefer Locale.ROOT for locale-insensitive operations."/>
</module>
<module name="IllegalToken">
<property name="tokens" value="LITERAL_ASSERT"/>
</module>
Expand Down
2 changes: 2 additions & 0 deletions baseline.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ subprojects {
'-Xep:Slf4jThrowable:ERROR',
// Added because it errors out compile, but we need to figure out if we want it
'-Xep:StrictUnusedVariable:OFF',
// This rule doesn't enforce the use of method references. That's handled by checkstyle.
'-Xep:StringCaseLocaleUsage:ERROR',
// Enforce safe string splitting
'-Xep:StringSplitter:ERROR',
'-Xep:TypeParameterShadowing:OFF',
Expand Down
Loading