Skip to content

Commit

Permalink
Merge pull request #51 from magento-commerce/imported-magento-magento…
Browse files Browse the repository at this point in the history
…-coding-standard-255

[Imported] AC-1128: Add severity and type (warning or error) for annotation, htm…
  • Loading branch information
eliseacornejo authored Sep 3, 2021
2 parents d753278 + 1b1eae2 commit d49f669
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions Magento2/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@
<severity>9</severity>
<type>warning</type>
</rule>
<rule ref="Magento2.Html.HtmlBinding">
<severity>9</severity>
<type>warning</type>
</rule>

<!-- Severity 8 warnings: Magento specific code issues and design violations. -->
<rule ref="Magento2.Classes.AbstractApi">
Expand Down Expand Up @@ -233,6 +237,10 @@
<severity>8</severity>
<type>warning</type>
</rule>
<rule ref="Magento2.Html.HtmlDirective">
<severity>8</severity>
<type>warning</type>
</rule>

<!-- Severity 7 warnings: General code issues. -->
<rule ref="Generic.Arrays.DisallowLongArraySyntax">
Expand Down Expand Up @@ -565,6 +573,15 @@
<severity>6</severity>
<type>warning</type>
</rule>
<rule ref="Squiz.CSS.NamedColours">
<severity>6</severity>
<type>warning</type>
</rule>
<rule ref="Magento2.Less">
<severity>6</severity>
<type>warning</type>
<include-pattern>*\.less$</include-pattern>
</rule>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.StartFile">
<severity>0</severity>
</rule>
Expand Down Expand Up @@ -596,16 +613,13 @@
<type>warning</type>
</rule>
<rule ref="Magento2.Annotation">
<severity>5</severity>
<type>warning</type>
<exclude-pattern>*/_files/*</exclude-pattern>
<exclude-pattern>*/Test/*</exclude-pattern>
<exclude-pattern>*Test.php</exclude-pattern>
</rule>
<rule ref="Magento2.Html"/>
<rule ref="Magento2.Less">
<include-pattern>*\.less$</include-pattern>
</rule>
<rule ref="Internal.NoCodeFound">
<severity>0</severity>
</rule>
<rule ref="Squiz.CSS.NamedColours"/>
</ruleset>

0 comments on commit d49f669

Please sign in to comment.