mirror of
https://github.com/dense-analysis/ale
synced 2024-12-24 15:13:02 +00:00
feat: detect ESLint flat config (#4753)
This commit is contained in:
parent
7516e2e484
commit
adee52fba0
@ -18,6 +18,9 @@ call ale#Set('javascript_eslint_suppress_missing_config', 0)
|
||||
function! ale#handlers#eslint#FindConfig(buffer) abort
|
||||
for l:path in ale#path#Upwards(expand('#' . a:buffer . ':p:h'))
|
||||
for l:basename in [
|
||||
\ 'eslint.config.js',
|
||||
\ 'eslint.config.mjs',
|
||||
\ 'eslint.config.cjs',
|
||||
\ '.eslintrc.js',
|
||||
\ '.eslintrc.cjs',
|
||||
\ '.eslintrc.yaml',
|
||||
|
Loading…
Reference in New Issue
Block a user