PHPCS is checking my JS files on PhpStorm,
I need to disable this feature
I added this line in the file phpcs.xml.dist
but no luck
<exclude-pattern>*\.(inc|css|js)</exclude-pattern>
Finally found it, I had to disable some extensions in PhpStorm config
File | Settings | Editor | Inspections > PHP Code Sniffer Validation
Or search:PHP Code Sniffer Validation
orPHP_CodeSniffer validation
There is a related bug though
https://youtrack.jetbrains.com/issue/WI-44308
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With