Include package.json in eslint configuration files
This commit is contained in:
parent
99263bdda4
commit
86c17e1834
@ -8,6 +8,7 @@ function! s:FindConfig(buffer) abort
|
|||||||
\ '.eslintrc.yml',
|
\ '.eslintrc.yml',
|
||||||
\ '.eslintrc.json',
|
\ '.eslintrc.json',
|
||||||
\ '.eslintrc',
|
\ '.eslintrc',
|
||||||
|
\ 'package.json',
|
||||||
\]
|
\]
|
||||||
let l:config = ale#path#FindNearestFile(a:buffer, l:filename)
|
let l:config = ale#path#FindNearestFile(a:buffer, l:filename)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user