From 31493ae4343804b62b7cfffbd1c662a60f1166b4 Mon Sep 17 00:00:00 2001 From: Benjamin Bartolome Date: Wed, 31 Aug 2016 22:34:05 -0400 Subject: [PATCH 1/2] Update .vimrc --- .vimrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index 8c21a0b..8157873 100644 --- a/.vimrc +++ b/.vimrc @@ -18,8 +18,7 @@ Plugin 'heavenshell/vim-jsdoc' Plugin 'scrooloose/syntastic' let g:syntastic_javascript_checkers=['eslint'] let g:syntastic_check_on_open=1 -let s:eslint_path = system('PATH=$(npm bin):$PATH && which eslint') -let b:syntastic_javascript_eslint_exec = substitute(s:eslint_path, '^\n*\s*\(.\{-}\)\n*\s*$', '\1', '') +let b:syntastic_javascript_eslint_exec = 'npm run lint' " All of your Plugins must be added before the following line call vundle#end() " required From 5927d7fe0829dc4c27523775537f887323710fee Mon Sep 17 00:00:00 2001 From: bbartolome Date: Thu, 1 Sep 2016 03:15:45 +0000 Subject: [PATCH 2/2] Revert "Update .vimrc" This reverts commit 31493ae4343804b62b7cfffbd1c662a60f1166b4. --- .vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 8157873..8c21a0b 100644 --- a/.vimrc +++ b/.vimrc @@ -18,7 +18,8 @@ Plugin 'heavenshell/vim-jsdoc' Plugin 'scrooloose/syntastic' let g:syntastic_javascript_checkers=['eslint'] let g:syntastic_check_on_open=1 -let b:syntastic_javascript_eslint_exec = 'npm run lint' +let s:eslint_path = system('PATH=$(npm bin):$PATH && which eslint') +let b:syntastic_javascript_eslint_exec = substitute(s:eslint_path, '^\n*\s*\(.\{-}\)\n*\s*$', '\1', '') " All of your Plugins must be added before the following line call vundle#end() " required