phpcs-wpcs-vscode icon indicating copy to clipboard operation
phpcs-wpcs-vscode copied to clipboard

Extend guide for custom development

Open gillespieza opened this issue 4 years ago • 0 comments

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...

gillespieza avatar Jun 10 '20 15:06 gillespieza