Add support for .eslintrc.cjs (#4742)

This commit is contained in:
Mathew Attlee 2024-03-11 23:53:59 +00:00 committed by GitHub
parent 4d132b3ffa
commit 5a8287e676
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ function! ale#handlers#eslint#FindConfig(buffer) abort
for l:path in ale#path#Upwards(expand('#' . a:buffer . ':p:h'))
for l:basename in [
\ '.eslintrc.js',
\ '.eslintrc.cjs',
\ '.eslintrc.yaml',
\ '.eslintrc.yml',
\ '.eslintrc.json',