Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend guide for custom development #8

Open
gillespieza opened this issue Jun 10, 2020 · 0 comments
Open

Extend guide for custom development #8

gillespieza opened this issue Jun 10, 2020 · 0 comments

Comments

@gillespieza
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant