Skip to content

Commit

Permalink
Add Kotlin files to checkstyle.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
vlsi committed Jul 19, 2019
1 parent 7b88daa commit 74143cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<!-- Miscellaneous -->
<module name="FileTabCharacter">
<!-- No tabs allowed! -->
<property name="fileExtensions" value="java, groovy, xml, xsd, dtd, htm, html, txt, properties"/>
<property name="fileExtensions" value="java, kt, kts, groovy, xml, xsd, dtd, htm, html, txt, properties"/>
</module>
<module name="NewlineAtEndOfFile"/>
<module name="RegexpSingleline">
Expand All @@ -47,7 +47,7 @@
<module name="RegexpMultiline">
<!-- No more than 2 blank lines allowed. -->
<property name="format" value="\r?\n[\t ]*\r?\n[\t ]*\r?\n[\t ]*\r?\n"/>
<property name="fileExtensions" value="java, groovy, xml, properties"/>
<property name="fileExtensions" value="java, kt, kts, groovy, xml, properties"/>
<property name="message" value="Unnecessary consecutive lines"/>
</module>
<!--<module name="RegexpOnFilename">-->
Expand All @@ -62,7 +62,7 @@

<!-- Size Violations -->
<module name="FileLength">
<property name="fileExtensions" value="java, groovy"/>
<property name="fileExtensions" value="java, kt, kts, groovy"/>
</module>

<module name="TreeWalker">
Expand Down

0 comments on commit 74143cb

Please sign in to comment.