From dbf4f036076157ef8384a5889c20a019941c8749 Mon Sep 17 00:00:00 2001 From: Jon Smithers Date: Mon, 17 Apr 2017 00:08:13 -0400 Subject: Enable jshint to extract javascript from html --- ale_linters/javascript/jshint.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters/javascript/jshint.vim') diff --git a/ale_linters/javascript/jshint.vim b/ale_linters/javascript/jshint.vim index 24c3875c..506b26da 100644 --- a/ale_linters/javascript/jshint.vim +++ b/ale_linters/javascript/jshint.vim @@ -28,7 +28,7 @@ function! ale_linters#javascript#jshint#GetCommand(buffer) abort \) let l:command = ale_linters#javascript#jshint#GetExecutable(a:buffer) - let l:command .= ' --reporter unix' + let l:command .= ' --reporter unix --extract auto' if !empty(l:jshint_config) let l:command .= ' --config ' . fnameescape(l:jshint_config) -- cgit v1.2.3