A composer and NPM package you can install to install WordPress Coding Standard Packages.

Installs: 40

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 0

Open Issues: 4

Language:Shell

v2.0.0 2024-04-17 21:28 UTC

This package is auto-updated.

Last update: 2024-12-17 22:58:42 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 the git 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