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 306
  • Win 148
  • Mac 103
  • Linux 55
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 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 0 0 0 0 0
Mac 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
Linux 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

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