aubreypwd / wpcs
A composer and NPM package you can install to install WordPress Coding Standard Packages.
Installs: 34
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 4
Language:Shell
Requires
This package is auto-updated.
Last update: 2024-11-17 22:53:10 UTC
README
Just a package I use with either Composer and/or NPM and it will automatically install WordPress Coding Standards for you for PHP and basic JavaScript.
Installation
See example-configs
for configurations you can place in your project's root and customize
to your liking. All of these you can simply symlink if you want to use them as-is, e.g.
ln -sf vendor/aubreypwd/wpcs/example-configs/phpcs/phpcs.xml.dist ./
Distribution
Just some notes for me on how I distribute this.
- I use
npm version
to bump the version and let it write thegit
tag for me - For packagist you need to update the package when you push tags up manually
- For npm you have to use
npm publish