mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
31 lines
983 B
XML
31 lines
983 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>
|
|
<exclude-pattern>*/jquery-changetracker/*</exclude-pattern>
|
|
<exclude-pattern>parsers/HTML/BBCodeParser/*</exclude-pattern>
|
|
|
|
<!-- PHP-PEG generated file not intended for human consumption -->
|
|
<exclude-pattern>*/SSTemplateParser.php$</exclude-pattern>
|
|
|
|
<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>
|
|
|