From 5e051fc5b6c4eecf94cf6f0b7beb3e204c2d1326 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Mon, 6 May 2019 13:14:32 -0700 Subject: [PATCH] add eslint disable next line snip --- vim/UltiSnips/javascript.snippets | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vim/UltiSnips/javascript.snippets b/vim/UltiSnips/javascript.snippets index 019b3b4..c905ec7 100644 --- a/vim/UltiSnips/javascript.snippets +++ b/vim/UltiSnips/javascript.snippets @@ -7,7 +7,7 @@ endsnippet snippet scf "self calling function" ! (function (${1:argument}) { ${VISUAL}$0 -}(${2:$1})) +}(${2:$1})); endsnippet snippet log "console.log" @@ -56,12 +56,15 @@ snippet umd "Universal Module Definition" b })) endsnippet - snippet debug "debugger" ! // eslint-disable-next-line no-debugger debugger$1 endsnippet +snippet ednl "eslint disable next line" ! +// eslint-disable-next-line $1 +endsnippet + snippet flow "flow" /* @flow */$1 endsnippet