From c35bb6376b65c0f1c453361c1973a52e3297da6b Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Mon, 9 Nov 2015 14:40:31 -0500 Subject: [PATCH] Remove the expected assignment or function call error from jshint as this creates errors where they don't actually occur --- vim/config/plugins.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vim/config/plugins.vim b/vim/config/plugins.vim index 31e7014..d4257d6 100644 --- a/vim/config/plugins.vim +++ b/vim/config/plugins.vim @@ -201,6 +201,10 @@ scriptencoding utf-8 \ 'Missing "use strict" statement', \ 'Unexpected [^ ]* statement.*' \ ]} + let g:syntastic_javascript_jshint_quiet_messages={ + \ 'regex':[ + \ 'Expected an assignment or function call and instead saw an expression.' + \ ]} let g:syntastic_javascript_standard_quiet_messages={ \ 'regex':[ \ '.* is defined but never used',