Skip to content

Commit 3fbc03f

Browse files
author
Eduard Muradov
committed
Exclude minified JS files.
1 parent 75af440 commit 3fbc03f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Magento2/ruleset.xml

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
<!-- File extensions to be checked. -->
66
<arg name="extensions" value="php,phtml,graphqls/GraphQL,less/CSS,html/PHP,xml,js/PHP"/>
77

8+
<!-- Exclude minified JS files. -->
9+
<exclude-pattern>*\.min\.js$</exclude-pattern>
10+
811
<!-- Severity 10 errors: Critical code issues. -->
912
<rule ref="Generic.PHP.CharacterBeforePHPOpeningTag">
1013
<severity>10</severity>

0 commit comments

Comments
 (0)