-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathruleset.xml
More file actions
17 lines (14 loc) · 822 Bytes
/
ruleset.xml
File metadata and controls
17 lines (14 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0"?>
<ruleset name="StakTrakr"
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>StakTrakr PMD ruleset — excludes false-positive rules for client-side JS</description>
<!-- Include all ECMAScript error-prone rules with exclusions for false positives. -->
<rule ref="category/ecmascript/errorprone.xml">
<!-- Values like 42.00, 3400.00, 0.0005 are exactly representable in IEEE 754. -->
<exclude name="InnaccurateNumericLiteral"/>
<!-- Trailing commas are standard ES2017+ and used throughout the codebase. -->
<exclude name="AvoidTrailingComma"/>
</rule>
</ruleset>