Print messages about imports used when modules are turned off

This commit is contained in:
w0rp
2017-06-20 17:38:21 +01:00
parent a105aa90a5
commit 50d952b07d
2 changed files with 25 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ function! ale#handlers#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'
\ . '|^ImportDeclaration should appear'
" Look for a message in the first few lines which indicates that
" a configuration file couldn't be found.