Skip to content

Commit

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

[Imported] Improve: Exclude minified JS files.
  • Loading branch information
sivaschenko authored Feb 11, 2022
2 parents 4c8716c + 3fbc03f commit edf5fc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Magento2/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<!-- File extensions to be checked. -->
<arg name="extensions" value="php,phtml,graphqls/GraphQL,less/CSS,html/PHP,xml,js/PHP"/>

<!-- Exclude minified JS files. -->
<exclude-pattern>*\.min\.js$</exclude-pattern>

<!-- Severity 10 errors: Critical code issues. -->
<rule ref="Generic.PHP.CharacterBeforePHPOpeningTag">
<severity>10</severity>
Expand Down

0 comments on commit edf5fc4

Please sign in to comment.