mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2025-01-05 15:47:37 +01:00
Tweak checkstyle settings
This commit is contained in:
parent
f370dfff4f
commit
305931bd73
@ -41,7 +41,9 @@
|
||||
<module name="TreeWalker">
|
||||
<!-- Blocks -->
|
||||
<module name="AvoidNestedBlocks"/>
|
||||
<module name="EmptyBlock"/>
|
||||
<module name="EmptyBlock">
|
||||
<property name="option" value="text"/>
|
||||
</module>
|
||||
<module name="EmptyCatchBlock">
|
||||
<property name="exceptionVariableName" value="expected|ignore"/>
|
||||
</module>
|
||||
@ -64,7 +66,6 @@
|
||||
</module>
|
||||
<module name="DefaultComesLast"/>
|
||||
<module name="EmptyStatement"/>
|
||||
<module name="EqualsAvoidNull"/>
|
||||
<module name="EqualsHashCode"/>
|
||||
<module name="FallThrough"/>
|
||||
<module name="IllegalThrows"/>
|
||||
@ -159,7 +160,8 @@
|
||||
|
||||
<!-- Whitespace -->
|
||||
<module name="RegexpSinglelineJava">
|
||||
<property name="format" value="[^\s]\s+$"/>
|
||||
<!-- Tolerate one trailing space, except immediately after curly braces, left parenthesis and semicolon -->
|
||||
<property name="format" value="([^\s]\s{2,}|[}{(;]\s+)$"/>
|
||||
<property name="minimum" value="0"/>
|
||||
<property name="maximum" value="0"/>
|
||||
<property name="ignoreComments" value="true"/>
|
||||
|
@ -10,4 +10,10 @@
|
||||
<suppress
|
||||
checks="Header"
|
||||
files="[\\/]me[\\/]filoghost[\\/]holographicdisplays[\\/]bridge[\\/]protocollib[\\/].+\.java"/>
|
||||
<suppress
|
||||
checks="LeftCurly|EmptyLineSeparator"
|
||||
files="[\\/]me[\\/]filoghost[\\/]holographicdisplays[\\/]nms[\\/]\w+[\\/]Craft.+\.java"/>
|
||||
<suppress
|
||||
checks="SummaryJavadoc"
|
||||
files="[\\/]com[\\/]gmail[\\/]filoghost[\\/](holograms|holographicdisplays)[\\/]api[\\/].+\.java"/>
|
||||
</suppressions>
|
||||
|
Loading…
Reference in New Issue
Block a user