Skip to content

Instantly share code, notes, and snippets.

@sumitpore
Created April 14, 2019 03:01
Show Gist options
  • Save sumitpore/1777cbf54693091d95f1f1ee231eeb34 to your computer and use it in GitHub Desktop.
Save sumitpore/1777cbf54693091d95f1f1ee231eeb34 to your computer and use it in GitHub Desktop.
Keywords to use in code to ignore WordPress rules when it makes no sense
// @codingStandardsIgnoreLine. -> Ignore One Line
// @codingStandardsIgnoreStart. -> Start Ignoring Piece of Code
// @codingStandardsIgnoreEnd. -> End Ignoring Piece of Code. #2 & #3 are used in conjunction to ignore a block of code.
// WPCS: XSS OK. -> Suppress XSS warning. Use only when you know that the text is safe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment