diff options
author | w0rp <devw0rp@gmail.com> | 2017-04-20 13:07:32 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-04-20 13:07:32 +0100 |
commit | 7fd763015331953913502930ab59331756bc2cd5 (patch) | |
tree | fca6edef9f2662602d639bbb94f26ac9df0b8578 /ale_linters/javascript/eslint.vim | |
parent | 0384cabd77e38f9a04ff1c8832f6b755855e909e (diff) | |
download | ale-7fd763015331953913502930ab59331756bc2cd5.zip |
Fix #398 - Report problems with the eslint configuration file
Diffstat (limited to 'ale_linters/javascript/eslint.vim')
-rw-r--r-- | ale_linters/javascript/eslint.vim | 1 |
1 files changed, 1 insertions, 0 deletions
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. |