mirror of
https://fast.feibisi.com/https://github.com/wp-cli/scaffold-command.git
synced 2026-02-28 21:38:21 +08:00
* `.distignore`: no need to distribute the phpcs/phpunit config files.
* `.gitignore`: Allow devs to overwrite config files for PHPUnit and PHPCS
- The `.dist` files should be committed. However, for their personal use, devs can overrule those files with versions without `.dist`.
Those personal versions should never be committed.
As a side-note: for PHPCS, having a personal version while still using the original `.dist` file is made very easy, as you can just import the `.dist` file as a starting point, like so:
```xml
<?xml version="1.0"?>
<ruleset name="WP-CLI">
<rule ref="./phpcs.xml.dist"/>
</ruleset>
```
11 lines
117 B
Text
11 lines
117 B
Text
.DS_Store
|
|
wp-cli.local.yml
|
|
node_modules/
|
|
vendor/
|
|
*.zip
|
|
*.tar.gz
|
|
composer.lock
|
|
*.log
|
|
phpunit.xml
|
|
phpcs.xml
|
|
.phpcs.xml
|