Guest User

Untitled

a guest
Oct 17th, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. "ESLint Disable": {
  2. "prefix": "ed",
  3. "body": [
  4. "/* eslint-disable ${1| ,arrow-body-style,camelcase,indent,new-cap,no-empty-function,no-unused-vars,no-useless-escape,promise/avoid-new,promise/catch-or-return,promise/no-callback-in-promise,promise/no-nesting|} */${0}/* eslint-enable $1 */"
  5. ],
  6. "description": "Disables the given rule in an area of code"
  7. },
  8. "ESLint Disable Line": {
  9. "prefix": "edl",
  10. "body": [
  11. "// eslint-disable-line ${1| ,arrow-body-style,camelcase,indent,new-cap,no-empty-function,no-unused-vars,no-useless-escape,promise/avoid-new,promise/catch-or-return,promise/no-callback-in-promise,promise/no-nesting|}"
  12. ],
  13. "description": "Disables the given rule on the current line"
  14. },
  15. "ESLint Disable Next Line": {
  16. "prefix": "edln",
  17. "body": [
  18. "// eslint-disable-next-line ${1| ,arrow-body-style,camelcase,indent,new-cap,no-empty-function,no-unused-vars,no-useless-escape,promise/avoid-new,promise/catch-or-return,promise/no-callback-in-promise,promise/no-nesting|}"
  19. ],
  20. "description": "Disables the given rule on the next line"
  21. }
Add Comment
Please, Sign In to add comment