mirror of
https://ghproxy.net/https://github.com/wp-cli/i18n-command.git
synced 2026-02-28 21:38:19 +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>
```
18 lines
175 B
Text
18 lines
175 B
Text
.DS_Store
|
|
.git
|
|
.gitignore
|
|
.gitlab-ci.yml
|
|
.editorconfig
|
|
.travis.yml
|
|
behat.yml
|
|
circle.yml
|
|
phpcs.xml.dist
|
|
phpunit.xml.dist
|
|
bin/
|
|
features/
|
|
utils/
|
|
*.zip
|
|
*.tar.gz
|
|
*.swp
|
|
*.txt
|
|
*.log
|