1 Star 0 Fork 115

gabrielcen/seproject

forked from 王洛伊/seproject 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
checkstyle.xml 4.89 KB
一键复制 编辑 原始数据 按行查看 历史
岑琳 提交于 2021-05-08 20:59 . 实验七
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<!-- This configuration file was written by the eclipse-cs plugin configuration
editor -->
<!-- Checkstyle-Configuration: JPacman Coding Standards Description: none -->
<module name="Checker">
<property name="severity" value="error" />
<module name="TreeWalker">
<module name="SuppressWarningsHolder" />
<property name="tabWidth" value="4" />
<module name="JavadocMethod">
<property name="scope" value="package" />
<property name="suppressLoadErrors" value="true" />
</module>
<!-- <module name="JavadocType" />
<module name="JavadocVariable">
<property name="severity" value="ignore" />
<metadata name="net.sf.eclipsecs.core.lastEnabledSeverity"
value="inherit" />
</module> -->
<module name="JavadocStyle" />
<module name="ConstantName" />
<module name="LocalFinalVariableName" />
<module name="LocalVariableName" />
<module name="MemberName" />
<module name="MethodName">
<property name="format" value="^[a-z][a-zA-Z0-9_]*$" />
</module>
<module name="PackageName" />
<module name="ParameterName" />
<module name="StaticVariableName" />
<module name="TypeName" />
<module name="AvoidStarImport" />
<module name="IllegalImport" />
<module name="RedundantImport" />
<module name="UnusedImports" />
<!--
<module name="LineLength">
<property name="max" value="100" />
</module>
-->
<module name="MethodLength">
<property name="max" value="30" />
</module>
<module name="ParameterNumber" />
<module name="EmptyForIteratorPad" />
<module name="MethodParamPad" />
<module name="NoWhitespaceAfter">
<property name="tokens"
value="BNOT,DEC,DOT,INC,LNOT,UNARY_MINUS,UNARY_PLUS" />
</module>
<module name="NoWhitespaceBefore" />
<module name="OperatorWrap" />
<module name="ParenPad" />
<module name="TypecastParenPad" />
<module name="WhitespaceAfter" />
<module name="WhitespaceAround" />
<module name="ModifierOrder" />
<module name="RedundantModifier" />
<module name="AvoidNestedBlocks" />
<module name="EmptyBlock" />
<module name="LeftCurly" />
<module name="NeedBraces" />
<module name="RightCurly">
<property name="severity" value="ignore" />
<metadata name="net.sf.eclipsecs.core.lastEnabledSeverity"
value="inherit" />
</module>
<module name="AvoidInlineConditionals" />
<module name="EmptyStatement" />
<module name="EqualsHashCode" />
<module name="HiddenField">
<property name="severity" value="ignore" />
<metadata name="net.sf.eclipsecs.core.lastEnabledSeverity"
value="inherit" />
</module>
<module name="IllegalInstantiation" />
<module name="InnerAssignment" />
<module name="MagicNumber" />
<module name="MissingSwitchDefault" />
<module name="SimplifyBooleanExpression" />
<module name="SimplifyBooleanReturn" />
<module name="DesignForExtension">
<property name="severity" value="ignore" />
<metadata name="net.sf.eclipsecs.core.lastEnabledSeverity"
value="inherit" />
</module>
<module name="FinalClass" />
<module name="HideUtilityClassConstructor" />
<module name="InterfaceIsType" />
<module name="VisibilityModifier" />
<module name="ArrayTypeStyle" />
<module name="FinalParameters">
<property name="severity" value="ignore" />
<metadata name="net.sf.eclipsecs.core.lastEnabledSeverity"
value="inherit" />
</module>
<module name="Indentation">
<property name="basicOffset" value="4" />
<property name="braceAdjustment" value="0" />
<property name="caseIndent" value="4" />
<property name="throwsIndent" value="8" />
<property name="arrayInitIndent" value="4" />
<property name="lineWrappingIndentation" value="4" />
</module>
<module name="TodoComment">
<property name="severity" value="ignore" />
<metadata name="net.sf.eclipsecs.core.lastEnabledSeverity"
value="inherit" />
</module>
<module name="UpperEll" />
<module name="FallThrough" />
<module name="MethodLength">
<property name="max" value="30" />
</module>
</module>
<module name="FileTabCharacter">
<property name="eachLine" value="true" />
</module>
<module name="NewlineAtEndOfFile">
<property name="severity" value="ignore" />
<metadata name="net.sf.eclipsecs.core.lastEnabledSeverity"
value="inherit" />
</module>
<module name="Translation" />
<module name="FileLength" />
<module name="FileTabCharacter">
<property name="severity" value="ignore" />
<metadata name="net.sf.eclipsecs.core.lastEnabledSeverity"
value="inherit" />
</module>
<module name="RegexpSingleline">
<property name="severity" value="ignore" />
<property name="format" value="\s+$" />
<property name="message" value="Line has trailing spaces." />
<metadata name="net.sf.eclipsecs.core.lastEnabledSeverity"
value="inherit" />
</module>
<module name="SuppressWarningsFilter" />
</module>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/gabrielcen/seproject.git
[email protected]:gabrielcen/seproject.git
gabrielcen
seproject
seproject
master

搜索帮助