mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-07 21:24:33 +08:00
Include package.json in eslint configuration files
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user