ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

WPCS Whitelist Flags

by barryceelen ALL

WordPress Coding Standards whitelist flags autocomplete snippets for Sublime Text

Details

Installs

  • Total 296
  • Win 145
  • Mac 99
  • Linux 52
Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

WPCS whitelist flags for Sublime Text

A Sublime Text 2/¾ plug-in to add WordPress Coding Standards whitelist flags to your php code.

Use

Type phpcs or wpcs to select a whitelist flag via autocomplete.

Install via Package Control

  1. Install Package Control if you haven't yet.
  2. Open the command palette (Ctrl+Shift+P for Windows/Linux, Cmd+Shift+P for Mac).
  3. Search for Package Control: Install Package and hit Enter.
  4. Type WPCS whitelist flags and press Enter to install it.

Changelog

1.0.8

  • Update README.md
  • Shorten snippet description to only show the sniffer rule to ignore
  • Add .gitignore

1.0.7

  • Use the // phpcs:ignore format in stead of the deprecated // WPCS: ... flags
  • Introduce phpcs tab trigger in addition to wpcs

1.0.6

  • Add PreparedSQLPlaceholders replacement count flag

1.0.5

  • Make precision alignment flag available to .js and .css files

1.0.4

  • 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

1.0.3

1.0.2

  • Remove tax_query flag

1.0.1

  • Add new whitelist flags for WPCS 0.12.0+
  • Add tax_query flag deprecation notice

1.0.0

  • Initial release