summaryrefslogtreecommitdiff
path: root/ale_linters/javascript
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-08-09 08:51:27 +0100
committerw0rp <devw0rp@gmail.com>2018-08-09 08:51:27 +0100
commit634bf73f52c9d533476058a9fe464b93eb90f3d8 (patch)
treec651bd8f4e758cef61afe0dcfc64ae67309d06d4 /ale_linters/javascript
parentfc94fd4deb59c4dc6882aa73bd08c721d33facea (diff)
downloadale-634bf73f52c9d533476058a9fe464b93eb90f3d8.zip
#1459 Always run ESLint in the directory of the file being checked
Diffstat (limited to 'ale_linters/javascript')
-rw-r--r--ale_linters/javascript/eslint.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/ale_linters/javascript/eslint.vim b/ale_linters/javascript/eslint.vim
index 23e16949..5be2377b 100644
--- a/ale_linters/javascript/eslint.vim
+++ b/ale_linters/javascript/eslint.vim
@@ -1,6 +1,8 @@
" Author: w0rp <devw0rp@gmail.com>
" Description: eslint for JavaScript files
+call ale#handlers#eslint#InitVariables()
+
call ale#linter#Define('javascript', {
\ 'name': 'eslint',
\ 'output_stream': 'both',