Skip to content

Instantly share code, notes, and snippets.

@rachelbaker
Created May 20, 2015 16:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rachelbaker/4ffc4412a56102863c43 to your computer and use it in GitHub Desktop.
Save rachelbaker/4ffc4412a56102863c43 to your computer and use it in GitHub Desktop.
{
"require": {
"wp-coding-standards/wpcs": "dev-develop"
},
"scripts": {
"post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths ~/.composer/vendor/wp-coding-standards/wpcs",
"post-update-cmd" : "\"vendor/bin/phpcs\" --config-set installed_paths ~/.composer/vendor/wp-coding-standards/wpcs"
}
}
@rachelbaker
Copy link
Author

Global composer file with WPCS config/setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment