Skip to content

Commit

Permalink
Exclude minified JS files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduard Muradov committed Feb 10, 2022
1 parent 75af440 commit 3fbc03f
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 3fbc03f

Please sign in to comment.