From 7fd763015331953913502930ab59331756bc2cd5 Mon Sep 17 00:00:00 2001 From: w0rp Date: Thu, 20 Apr 2017 13:07:32 +0100 Subject: Fix #398 - Report problems with the eslint configuration file --- ale_linters/javascript/eslint.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'ale_linters/javascript/eslint.vim') diff --git a/ale_linters/javascript/eslint.vim b/ale_linters/javascript/eslint.vim index 1a59ff12..7d78eed8 100644 --- a/ale_linters/javascript/eslint.vim +++ b/ale_linters/javascript/eslint.vim @@ -42,6 +42,7 @@ endfunction function! ale_linters#javascript#eslint#Handle(buffer, lines) abort let l:config_error_pattern = '\v^ESLint couldn''t find a configuration file' \ . '|^Cannot read config file' + \ . '|^.*Configuration for rule .* is invalid' " Look for a message in the first few lines which indicates that " a configuration file couldn't be found. -- cgit v1.2.3