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 299
  • Win 145
  • Mac 101
  • Linux 53
Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19
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 0 0 0 0 0 0 0
Mac 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 1 0 0 0 0 0 0 0 0 0
Linux 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 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