Use same exclude-pattern as dogfood.xml to flag as many warnings as possible
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6772 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
1 parent
eea441100a
commit
b4358f0baf
1 file changed
+12
-5
@@ -6,11 +6,18 @@
|
||||
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
|
||||
<description>Dogfood goal, delete this when we reach it.</description>
|
||||
|
||||
<exclude-pattern>.*net/sourceforge/pmd/lang/ast/JavaCharStream.java</exclude-pattern>
|
||||
<exclude-pattern>.*net/sourceforge/pmd/lang/ast/SimpleCharStream.java</exclude-pattern>
|
||||
<exclude-pattern>.*net/sourceforge/pmd/lang/ast/TokenMgrError.java</exclude-pattern>
|
||||
<exclude-pattern>.*lang/.*/ast/.*.java</exclude-pattern>
|
||||
<exclude-pattern>.*cppast/.*.java</exclude-pattern>
|
||||
<!-- Exclude JavaCC generated artifacts -->
|
||||
<exclude-pattern>.*net/sourceforge/pmd/lang/ast/JavaCharStream.java</exclude-pattern>
|
||||
<exclude-pattern>.*net/sourceforge/pmd/lang/ast/SimpleCharStream.java</exclude-pattern>
|
||||
<exclude-pattern>.*net/sourceforge/pmd/lang/ast/TokenMgrError.java</exclude-pattern>
|
||||
<exclude-pattern>.*lang/(java|jsp|cpp)/ast/.*Parser.java</exclude-pattern>
|
||||
<exclude-pattern>.*lang/(java|jsp|cpp)/ast/.*ParserConstants.java</exclude-pattern>
|
||||
<exclude-pattern>.*lang/(java|jsp|cpp)/ast/.*ParserTokenManager.java</exclude-pattern>
|
||||
<exclude-pattern>.*lang/(java|jsp|cpp)/ast/.*ParserTreeConstants.java</exclude-pattern>
|
||||
<exclude-pattern>.*lang/(java|jsp|cpp)/ast/.*ParserVisitor.java</exclude-pattern>
|
||||
<exclude-pattern>.*lang/(java|jsp|cpp)/ast/JJT.*ParserState.java</exclude-pattern>
|
||||
<exclude-pattern>.*lang/(java|jsp|cpp)/ast/ParseException.java</exclude-pattern>
|
||||
<exclude-pattern>.*lang/(java|jsp|cpp)/ast/Token.java</exclude-pattern>
|
||||
|
||||
<rule ref="rulesets/internal/pmdspecific.xml"/>
|
||||
|
||||
|
||||
Reference in new issue
Block a user