summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-06-13 09:35:52 +0100
committerw0rp <devw0rp@gmail.com>2017-06-13 09:35:52 +0100
commit86c17e18347eb1cb3332b4197cbd1c82e1b567d3 (patch)
tree9ededa30ee626600f86416ced07d8dcb1a71a703 /autoload
parent99263bdda446ec9c28ab92c3cafe8b166ac7fca8 (diff)
downloadale-86c17e18347eb1cb3332b4197cbd1c82e1b567d3.zip
Include package.json in eslint configuration files
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/fixers/eslint.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/ale/fixers/eslint.vim b/autoload/ale/fixers/eslint.vim
index e9d615ae..1f377711 100644
--- a/autoload/ale/fixers/eslint.vim
+++ b/autoload/ale/fixers/eslint.vim
@@ -8,6 +8,7 @@ function! s:FindConfig(buffer) abort
\ '.eslintrc.yml',
\ '.eslintrc.json',
\ '.eslintrc',
+ \ 'package.json',
\]
let l:config = ale#path#FindNearestFile(a:buffer, l:filename)