WordPress-Coding-Standards icon indicating copy to clipboard operation
WordPress-Coding-Standards copied to clipboard

Make CapitalPDangit customizable e.g. for WooCommerce

Open kkmuffme opened this issue 4 years ago • 0 comments

Is your feature request related to a problem?

CapitalPDangit is great for ensuring that the WordPress brand is spelled correctly. It would be amazing if the sniff was customizable, so other brand names, e.g. WooCommerce could be checked too

Describe the solution you'd like

Allow customizing the rule via .xml and add documentation for it to the wiki: https://github.com/WordPress/WordPress-Coding-Standards/wiki/Customizable-sniff-properties

The user provides the correctly spelled word(s), e.g. WooCommerce in the xml, e.g. as a comma separated list or as an array (whatever is preferred by the implementer)

kkmuffme avatar Aug 15 '20 09:08 kkmuffme