A Sublime Text 2/3/4 plug-in to add WordPress Coding Standards whitelist flags to your php code.
Type phpcs
or wpcs
to select a whitelist flag via autocomplete.
- Install Package Control if you haven't yet.
- Open the command palette (Ctrl+Shift+P for Windows/Linux, Cmd+Shift+P for Mac).
- Search for Package Control: Install Package and hit Enter.
- Type
WPCS whitelist flags
and press Enter to install it.
- Update README.md
- Shorten snippet description to only show the sniffer rule to ignore
- Add .gitignore
- Use the
// phpcs:ignore
format in stead of the deprecated// WPCS: ...
flags - Introduce
phpcs
tab trigger in addition towpcs
- Add PreparedSQLPlaceholders replacement count flag
- Make precision alignment flag available to .js and .css files
- Tab triggers now contain more words. This makes it easier to select a specific flag via the keyboard in addition to using the up or down arrow keys
- Add precision alignment flag (props @claudiosanches)
- Remove
tax_query
flag
- Add new whitelist flags for WPCS 0.12.0+
- Add
tax_query
flag deprecation notice
- Initial release