-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathruleset.xml
More file actions
25 lines (20 loc) · 821 Bytes
/
ruleset.xml
File metadata and controls
25 lines (20 loc) · 821 Bytes
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
<?xml version="1.0"?>
<ruleset name="Custom 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>
FST custom PMD rule for Codacy analyzer
</description>
<!--
Codacy seems to fail to detect correct import statement for ECMAScripts
See:
- https://github.com/pmd/pmd/issues/2305
- https://github.com/pmd/pmd/issues/4129
-->
<rule ref="category/ecmascript/codestyle.xml">
<exclude name="UnnecessaryBlock"/>
</rule>
<rule ref="category/ecmascript/errorprone.xml"/>
<rule ref="category/ecmascript/bestpractices.xml"/>
</ruleset>