FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pre-commit-java/ruleset.xml at main · caoychn/pre-commit-java · GitHub
caoychn
/
pre-commit-java
Public
forked from
gherynos/pre-commit-java
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pre-commit-java
/
ruleset.xml
Copy path
More file actions
More file actions
Latest commit
History
History
History
40 lines (33 loc) · 2.36 KB
Breadcrumbs
pre-commit-java
/
ruleset.xml
Copy path
File metadata and controls
40 lines (33 loc) · 2.36 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?
xml
version
=
"
1.0
"
encoding
=
"
UTF-8
"
?>
<
ruleset
name
=
"
All Java Rules
"
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
>Every Java Rule in PMD</
description
>
<!--
Lexer test cases - wrong encoding, illegal characters, ...
-->
<
exclude-pattern
>.*/ant/java/EncodingTestClass.java</
exclude-pattern
>
<
exclude-pattern
>.*/net/sourceforge/pmd/cpd/badandgood/BadFile.java</
exclude-pattern
>
<!--
the following files produce parsing errors with java 9, as they use identifiers, that
are now reserved keywords and are forbidden to be used as identifiers.
-->
<
exclude-pattern
>.*/net/sourceforge/pmd/lang/java/ast/jdkversiontests/assert_test5.java</
exclude-pattern
>
<
exclude-pattern
>.*/net/sourceforge/pmd/lang/java/ast/jdkversiontests/assert_test5_a.java</
exclude-pattern
>
<
exclude-pattern
>.*/net/sourceforge/pmd/lang/java/ast/jdkversiontests/assert_test7.java</
exclude-pattern
>
<
exclude-pattern
>.*/net/sourceforge/pmd/lang/java/ast/jdkversiontests/jdk14_enum.java</
exclude-pattern
>
<
exclude-pattern
>.*/net/sourceforge/pmd/lang/java/ast/jdkversiontests/jdk9_invalid_identifier.java</
exclude-pattern
>
<
exclude-pattern
>.*/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java10/LocalVariableTypeInference_varAsAnnotationName.java</
exclude-pattern
>
<
exclude-pattern
>.*/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java10/LocalVariableTypeInference_varAsEnumName.java</
exclude-pattern
>
<
exclude-pattern
>.*/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java10/LocalVariableTypeInference_varAsTypeIdentifier.java</
exclude-pattern
>
<!--
this file contains are parse error explicitly
-->
<
exclude-pattern
>.*/net/sourceforge/pmd/lang/java/ast/InfiniteLoopInLookahead.java</
exclude-pattern
>
<
rule
ref
=
"
category/java/bestpractices.xml
"
/>
<
rule
ref
=
"
category/java/codestyle.xml
"
/>
<
rule
ref
=
"
category/java/design.xml
"
>
<
exclude
name
=
"
LoosePackageCoupling
"
/>
</
rule
>
<
rule
ref
=
"
category/java/documentation.xml
"
/>
<
rule
ref
=
"
category/java/errorprone.xml
"
/>
<
rule
ref
=
"
category/java/multithreading.xml
"
/>
<
rule
ref
=
"
category/java/performance.xml
"
/>
<
rule
ref
=
"
category/java/security.xml
"
/>
</
ruleset
>
Back
|
FazBrowse Home
|
New Git URL