-
-
Save gregrickaby/ddce64643479a367aee9753fc7343329 to your computer and use it in GitHub Desktop.
Sublime Text 3 - Phpcs Plugin Setting
This file contains 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
{ | |
// 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": "" | |
}, | |
} |
This file contains 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
{ | |
// 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