summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathew Attlee <hello@codeinabox.com>2024-03-11 23:53:59 +0000
committerGitHub <noreply@github.com>2024-03-12 08:53:59 +0900
commit5a8287e676e32792fffbde755fdb6551a7ef7153 (patch)
treeeef719165944f6036735f6c13dbd6de6c367d7b5
parent4d132b3ffa5c42c882fccdf970ddb3f0063ee599 (diff)
downloadale-5a8287e676e32792fffbde755fdb6551a7ef7153.zip
Add support for .eslintrc.cjs (#4742)
-rw-r--r--autoload/ale/handlers/eslint.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/ale/handlers/eslint.vim b/autoload/ale/handlers/eslint.vim
index 374460bc..ad870449 100644
--- a/autoload/ale/handlers/eslint.vim
+++ b/autoload/ale/handlers/eslint.vim
@@ -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',