Skip to content

Commit

Permalink
Ignore 'node_modules' in PHPCS
Browse files Browse the repository at this point in the history
The `wp-i18n` node module has some PHP that gets flagged.
  • Loading branch information
danielbachhuber authored Oct 4, 2018
1 parent abdf379 commit 0a41645
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/.phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<!-- What to scan -->
<file>.</file>
<exclude-pattern>/vendor/</exclude-pattern>
<exclude-pattern>/node_modules/</exclude-pattern>

<!-- How to scan -->
<!-- Usage instructions: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage -->
Expand Down

0 comments on commit 0a41645

Please sign in to comment.