-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruleset.xml
More file actions
24 lines (21 loc) · 1.29 KB
/
ruleset.xml
File metadata and controls
24 lines (21 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0"?>
<ruleset name="vnstat-frontend-style">
<description>Vnstat Frontend Code Style</description>
<exclude-pattern type="relative">^Gruntfile.js</exclude-pattern>
<exclude-pattern type="relative">^jshint-reporter.js</exclude-pattern>
<exclude-pattern type="relative">^node_modules/*</exclude-pattern>
<exclude-pattern type="relative">^.git/*</exclude-pattern>
<exclude-pattern type="relative">^core/vendor/*</exclude-pattern>
<exclude-pattern type="relative">^test-results/*</exclude-pattern>
<exclude-pattern type="relative">^ext/*</exclude-pattern>
<rule ref="core/vendor/betterphp/php-code-style/Standard" />
<!-- PHPUnis uses special function comments -->
<rule ref="Standard.Commenting.FunctionComment">
<exclude-pattern>*/tests/*</exclude-pattern>
</rule>
<!-- Not too bothered about spacing and full stops -->
<rule ref="Standard.Commenting.FunctionComment.SpacingAfterParamType"><severity>0</severity></rule>
<rule ref="Standard.Commenting.FunctionComment.SpacingAfterParamName"><severity>0</severity></rule>
<rule ref="Standard.Commenting.FunctionComment.ThrowsNoFullStop"><severity>0</severity></rule>
<rule ref="Standard.Commenting.FunctionComment.ParamCommentFullStop"><severity>0</severity></rule>
</ruleset>