Skip to content

Commit 9f7fa70

Browse files
committed
fix: adding pmd linter configuration
1 parent 646fea8 commit 9f7fa70

File tree

3 files changed

+444
-0
lines changed

3 files changed

+444
-0
lines changed

plugin/.eclipse-pmd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<eclipse-pmd xmlns="http://acanda.ch/eclipse-pmd/0.8" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://acanda.ch/eclipse-pmd/0.8 http://acanda.ch/eclipse-pmd/eclipse-pmd-0.8.xsd">
3+
<analysis enabled="true" />
4+
<rulesets>
5+
<ruleset name="Custom Rules" ref="src/main/resources/pmd-ruleset.xml" refcontext="project" />
6+
</rulesets>
7+
</eclipse-pmd>

plugin/.pmd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<pmd>
3+
<useProjectRuleSet>true</useProjectRuleSet>
4+
<ruleSetFile>/Users/skippy/repos/snyk-eclipse-plugin/plugin/src/main/resources/pmd-ruleset.xml</ruleSetFile>
5+
<includeDerivedFiles>false</includeDerivedFiles>
6+
<violationsAsErrors>true</violationsAsErrors>
7+
<fullBuildEnabled>true</fullBuildEnabled>
8+
</pmd>

0 commit comments

Comments
 (0)