Skip to content

Commit

Permalink
Run linters against js as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
spacedmonkey committed Jun 26, 2020
1 parent 2ace0af commit 6372554
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions phpcs.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<ruleset name="Unsplash Coding Standards">
<arg name="extensions" value="php" />
<arg name="extensions" value="php,js,css" />
<arg name="colors" />
<arg name="parallel" value="16" />
<arg value="s" />
Expand Down Expand Up @@ -32,10 +32,17 @@

<file>.</file>

<exclude-pattern>*/assets/*</exclude-pattern>
<exclude-pattern>*/assets/css/*</exclude-pattern>
<exclude-pattern>*/bin/*</exclude-pattern>
<exclude-pattern>*/build/*</exclude-pattern>
<exclude-pattern>*/js/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/tests/coverage/*</exclude-pattern>
<exclude-pattern>*/tests/e2e/*</exclude-pattern>
<exclude-pattern>*/tests/merge-coverage.js</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>./webpack.config.js</exclude-pattern>
<exclude-pattern>./postcss.config.js</exclude-pattern>
<exclude-pattern>./Gruntfile.js</exclude-pattern>
<exclude-pattern>./jest.config.js</exclude-pattern>
</ruleset>

0 comments on commit 6372554

Please sign in to comment.