Created
September 26, 2017 16:52
-
-
Save dtateii/a15c9547677a7046e7bfdac96bdba8af to your computer and use it in GitHub Desktop.
Composer-managed coexisting CodeSniffer Rulesets for WordPress and Drupal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"minimum-stability": "dev", | |
"require": { | |
"drupal/coder": "^8.2", | |
"squizlabs/php_codesniffer": "2.9.0", | |
"wp-coding-standards/wpcs": "0.12.0" | |
}, | |
"scripts" : { | |
"post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths ../../wp-coding-standards/wpcs,../../drupal/coder/coder_sniffer", | |
"post-update-cmd" : "\"vendor/bin/phpcs\" --config-set installed_paths ../../wp-coding-standards/wpcs,../../drupal/coder/coder_sniffer" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment