phpcs-wpcs-vscode
phpcs-wpcs-vscode copied to clipboard
Extend guide for custom development
Would you be able to extend this guide to explain how to set up various customisations in a phpcs.xml file? For example, how to set up your plugin prefix or text domain so the sniffer doesn't complain at every function definition or every string echo that you should be using a prefix, etc.
I tried setting that up in my project directory, but it seemed like those 2 rules replaced ALL the rest of the wpcs rules. I didn't mean to replace my wpcs ruleset with a custom set. I just wanted to augment the existing wpcs ruleset with my text domain...