Skip to content

Commit 4539af1

Browse files
committed
4.0 | Remove all JS-specific sniffs
PHP_CodeSniffer 4.0 no longer support scanning of JS/CSS code, so these sniffs are no longer viable. Follow up on 839 Closes 442
1 parent d9eb263 commit 4539af1

20 files changed

+0
-1137
lines changed

WordPress-VIP-Go/ruleset.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<!-- The rules below are the changes from between the original sniff or parent ruleset, and what should be applied for this Standard. -->
66
<!-- Include the base VIP Minimum ruleset -->
77
<rule ref="WordPressVIPMinimum">
8-
<exclude name="WordPressVIPMinimum.JS"/>
98
<exclude name="WordPressVIPMinimum.Functions.DynamicCalls"/>
109
</rule>
1110

WordPressVIPMinimum/Sniffs/JS/DangerouslySetInnerHTMLSniff.php

Lines changed: 0 additions & 100 deletions
This file was deleted.

WordPressVIPMinimum/Sniffs/JS/HTMLExecutingFunctionsSniff.php

Lines changed: 0 additions & 161 deletions
This file was deleted.

WordPressVIPMinimum/Sniffs/JS/InnerHTMLSniff.php

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)