forked from a64f7bb4-7358-4778-9fbe-3b882c34cc1d/v1
51 lines
1.6 KiB
XML
51 lines
1.6 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset name="Commerce coding standards">
|
|
<description>Drupal 8 coding standards</description>
|
|
|
|
<exclude-pattern>*/.git/*</exclude-pattern>
|
|
<exclude-pattern>*/config/*</exclude-pattern>
|
|
<exclude-pattern>*/css/*</exclude-pattern>
|
|
<exclude-pattern>*/js/*</exclude-pattern>
|
|
<exclude-pattern>*/icons/*</exclude-pattern>
|
|
<exclude-pattern>*/vendor/*</exclude-pattern>
|
|
|
|
<rule ref="Drupal"/>
|
|
|
|
<!-- The following rules are intentionally disabled. -->
|
|
<rule ref="Drupal.Commenting.ClassComment.Missing">
|
|
<severity>0</severity>
|
|
</rule>
|
|
<rule ref="Drupal.Files.LineLength.TooLong">
|
|
<severity>0</severity>
|
|
</rule>
|
|
<rule ref="Drupal.Arrays.Array.LongLineDeclaration">
|
|
<severity>0</severity>
|
|
</rule>
|
|
<rule ref="Drupal.Commenting.VariableComment.VarOrder">
|
|
<severity>0</severity>
|
|
</rule>
|
|
<!-- Complains about example code. -->
|
|
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod.Found">
|
|
<severity>0</severity>
|
|
</rule>
|
|
<!-- Complains about '#element_validate callback:' -->
|
|
<rule ref="Drupal.Commenting.DocComment.ShortNotCapital">
|
|
<severity>0</severity>
|
|
</rule>
|
|
<!-- Complains a lot about tests which don't need short descriptions. -->
|
|
<rule ref="Drupal.Commenting.DocComment.MissingShort">
|
|
<severity>0</severity>
|
|
</rule>
|
|
<rule ref="Drupal.Commenting.Deprecated.DeprecatedMissingSeeTag">
|
|
<severity>0</severity>
|
|
</rule>
|
|
<rule ref="Drupal.Commenting.DocComment.ShortSingleLine">
|
|
<severity>0</severity>
|
|
</rule>
|
|
<!-- Complains about annotation classes. -->
|
|
<rule ref="Drupal.NamingConventions.ValidVariableName.LowerCamelName">
|
|
<severity>0</severity>
|
|
</rule>
|
|
|
|
</ruleset>
|