Skip to content

Commit 30fc015

Browse files
committed
More specific PHPCS scanning.
1 parent aee33d7 commit 30fc015

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/wpcs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: composer install --prefer-dist --no-progress --no-suggest
2222

2323
- name: Run PHPCS
24-
run: vendor/bin/phpcs --standard=WordPress --report=json --report-file=phpcs.json .
24+
run: vendor/bin/phpcs --standard=WordPress --extensions=php,js --ignore=.git/*,.github/*,node_modules/* --report=json --report-file=phpcs.json .
2525

2626
- name: Update summary
2727
if: success() && hashFiles('phpcs.json') != ''

0 commit comments

Comments
 (0)