Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Sublime Text 3 - Phpcs Plugin Setting
{
// It seems python/sublime cannot always find the phpcs application
// If empty, then use PATH version of phpcs, else use the set value
"phpcs_executable_path": "/Users/gregrickaby/.composer/vendor/bin/phpcs",
// Additional arguments you can specify into the application
//
// Example:
// {
// "--standard": "PEAR",
// "-n"
// }
"phpcs_additional_args": {
"--standard": "WordPress-Core",
"-n": ""
},
}
{
// It seems python/sublime cannot always find the phpcs application
// If empty, then use PATH version of phpcs, else use the set value
"phpcs_executable_path": "C:\\Users\\Greg\\AppData\\Roaming\\Composer\\vendor\\bin\\phpcs",
// Additional arguments you can specify into the application
//
// Example:
// {
// "--standard": "PEAR",
// "-n"
// }
"phpcs_additional_args": {
"--standard": "WordPress-Extra",
"-n": ""
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.