Include package.json in eslint configuration files

This commit is contained in:
w0rp 2017-06-13 09:35:52 +01:00
parent 99263bdda4
commit 86c17e1834

View file

@ -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)