From 5a8287e676e32792fffbde755fdb6551a7ef7153 Mon Sep 17 00:00:00 2001 From: Mathew Attlee Date: Mon, 11 Mar 2024 23:53:59 +0000 Subject: [PATCH] Add support for .eslintrc.cjs (#4742) --- autoload/ale/handlers/eslint.vim | 1 + 1 file changed, 1 insertion(+) 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',