mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
34 lines
939 B
XML
34 lines
939 B
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ruleset name="SilverStripe">
|
||
|
<description>CodeSniffer ruleset for SilverStripe coding conventions.</description>
|
||
|
|
||
|
<!-- exclude SCSS-generated CSS files -->
|
||
|
<exclude-pattern>*/css/*</exclude-pattern>
|
||
|
<exclude-pattern>css/*</exclude-pattern>
|
||
|
|
||
|
<!-- exclude thirdparty content -->
|
||
|
<exclude-pattern>thirdparty/*</exclude-pattern>
|
||
|
|
||
|
<rule ref="Generic.Files.LineEndings.InvalidEOLChar">
|
||
|
<severity>8</severity>
|
||
|
</rule>
|
||
|
<rule ref="Generic.Files.LineEndings">
|
||
|
<properties>
|
||
|
<property name="eolChar" value="\n" />
|
||
|
</properties>
|
||
|
</rule>
|
||
|
<rule ref="Generic.Files.LineLength.TooLong">
|
||
|
<severity>7</severity>
|
||
|
</rule>
|
||
|
<rule ref="Generic.Files.LineLength.MaxExceeded">
|
||
|
<severity>8</severity>
|
||
|
</rule>
|
||
|
<rule ref="Generic.Files.LineLength">
|
||
|
<properties>
|
||
|
<property name="lineLimit" value="120"/>
|
||
|
<property name="absoluteLineLimit" value="120"/>
|
||
|
</properties>
|
||
|
</rule>
|
||
|
</ruleset>
|
||
|
|