mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-07 04:34:34 +08:00
Add a script for custom checks to enforce using the abort flag for functions and trailing whitespace, and fix existing issues.
This commit is contained in:
1 parent
e4a4fcd26b
commit
d7ed49f849
36 files changed
+134
-43
No files matched your search
@@ -19,7 +19,7 @@ function! ale_linters#javascript#jshint#GetExecutable(buffer) abort
|
||||
\)
|
||||
endfunction
|
||||
|
||||
function! ale_linters#javascript#jshint#GetCommand(buffer)
|
||||
function! ale_linters#javascript#jshint#GetCommand(buffer) abort
|
||||
" Search for a local JShint config locaation, and default to a global one.
|
||||
let l:jshint_config = ale#util#ResolveLocalPath(
|
||||
\ a:buffer,
|
||||
|
||||
Reference in new issue
Block a user