38 Star 109 Fork 49

SOFAStack/sofa-registry

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ruleset.xml 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
d字大写 提交于 2022-08-10 15:41 . chore: add pmd unusedcode (#259)
<?xml version="1.0"?>
<ruleset name="quickstart"
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd">
<description>
My custom rules
</description>
<rule ref="rulesets/java/ali-flowcontrol.xml">
<exclude name="NeedBraceRule"/>
</rule>
<rule ref="rulesets/java/ali-comment.xml">
<exclude name="EnumConstantsMustHaveCommentRule"/>
</rule>
<rule ref="rulesets/java/ali-concurrent.xml">
<exclude name="AvoidManuallyCreateThreadRule"/>
<exclude name="ThreadLocalShouldRemoveRule"/>
</rule>
<rule ref="rulesets/java/ali-constant.xml"/>
<rule ref="rulesets/java/ali-exception.xml"/>
<rule ref="rulesets/java/ali-oop.xml"/>
<rule ref="rulesets/java/ali-orm.xml"/>
<rule ref="rulesets/java/ali-other.xml"/>
<rule ref="rulesets/java/ali-set.xml"/>
<rule ref="rulesets/java/unusedcode.xml">
<priority>2</priority>
</rule>
</ruleset>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/sofastack/sofa-registry.git
git@gitee.com:sofastack/sofa-registry.git
sofastack
sofa-registry
sofa-registry
master

搜索帮助