Created
October 26, 2015 15:52
-
-
Save lanwen/96feea5efdbb4ee86cad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE module PUBLIC | |
"-//Puppy Crawl//DTD Check Configuration 1.2//EN" | |
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> | |
<module name="Checker"> | |
<module name="TreeWalker"> | |
<!-- Checks for Javadoc comments. --> | |
<!-- See http://checkstyle.sf.net/config_javadoc.html --> | |
<!--<module name="JavadocMethod"/>--> | |
<!--<module name="JavadocType"/>--> | |
<!--<module name="JavadocVariable"/>--> | |
<!-- Checks for Naming Conventions. --> | |
<!-- See http://checkstyle.sf.net/config_naming.html --> | |
<module name="ConstantName"/> | |
<module name="LocalFinalVariableName"/> | |
<module name="LocalVariableName"/> | |
<module name="MemberName"/> | |
<module name="MethodName"/> | |
<module name="PackageName"/> | |
<module name="ParameterName"/> | |
<module name="StaticVariableName"/> | |
<module name="TypeName"/> | |
<!--http://checkstyle.sourceforge.net/config_misc.html#Indentation--> | |
<module name="Indentation"/> | |
<!-- Checks for Size Violations. --> | |
<!-- See http://checkstyle.sf.net/config_sizes.html --> | |
<module name="LineLength"> | |
<property name="max" value="130"/> | |
</module> | |
<!-- Checks for whitespace --> | |
<!-- See http://checkstyle.sf.net/config_whitespace.html --> | |
<module name="NoWhitespaceAfter"/> | |
<module name="NoWhitespaceBefore"/> | |
<module name="WhitespaceAfter"/> | |
<module name="WhitespaceAround"/> | |
<!-- Modifier Checks --> | |
<!-- See http://checkstyle.sf.net/config_modifiers.html --> | |
<module name="ModifierOrder"/> | |
<module name="RedundantModifier"/> | |
<!-- Checks for blocks. You know, those {}'s --> | |
<!-- See http://checkstyle.sf.net/config_blocks.html --> | |
<module name="LeftCurly"/> | |
<module name="NeedBraces"/> | |
<module name="RightCurly"/> | |
</module> | |
<!-- Support @SuppressWarnings (added in Checkstyle 5.7) --> | |
<!-- see http://checkstyle.sourceforge.net/config.html#SuppressWarningsFilter --> | |
<module name="SuppressWarningsFilter"/> | |
</module> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment