Skip to content

Commit

Permalink
🚨 Ignore built blocks files in phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Apr 26, 2023
1 parent 48347fb commit a1cb38c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
./vendor/bin/phpcs --config-set installed_paths `pwd`/wpcs
- run:
name: Basic Lint Test
command: ./vendor/bin/phpcs likecoin --standard=WordPress-Extra --extensions=php --ignore=*/assets/js/*
command: ./vendor/bin/phpcs likecoin --standard=WordPress-Extra --extensions=php --ignore=*/assets/js/* --ignore=*/assets/blocks/**
- run:
name: Complete Lint Test
command: ./vendor/bin/phpcs likecoin --standard=WordPress --extensions=php --ignore=*/assets/js/*
command: ./vendor/bin/phpcs likecoin --standard=WordPress --extensions=php --ignore=*/assets/js/* --ignore=*/assets/blocks/**
- save_cache:
key: likecoin-wordpress-{{ .Environment.CACHE_UUID }}-{{ checksum "composer.json" }}-{{ checksum "composer.lock" }}
paths:
Expand Down

0 comments on commit a1cb38c

Please sign in to comment.