forked from umakantp/SmartyLint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.rules.xml
32 lines (28 loc) · 1020 Bytes
/
sample.rules.xml
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
<?xml version="1.0"?>
<rules>
<conf>
<leftDelimiter>{</leftDelimiter>
<rightDelimiter>}</rightDelimiter>
<autoLiteral>true</autoLiteral>
<extensions>
<extension>tpl</extension>
<extension>smarty</extension>
</extensions>
</conf>
<ignore>
<!-- Ignoring "sample-pattern" folder from checking. -->
<pattern>*/sample-pattern/*</pattern>
<!-- Disabling complete rule set. -->
<rule name="Commenting.FileComment"/>
<!-- Disabling complete single rule. -->
<rule name="Files.EndFileNewline.TooMany"/>
<!-- Disabling complete rule set for selected pattern. -->
<rule name="Commenting.Todo">
<pattern>other_errors.tpl</pattern>
</rule>
<!-- Disabling single rule for selected pattern. -->
<rule name="Commenting.Fixme.TaskFound">
<pattern>other_errors.tpl</pattern>
</rule>
</ignore>
</rules>