Fix #971 - Add an option for turning errors about missing eslint config files off.

This commit is contained in:
w0rp 2017-10-28 12:11:33 +01:00
parent 0e848b608c
commit 6e681d9066
3 changed files with 157 additions and 17 deletions

View file

@ -56,8 +56,21 @@ g:ale_javascript_eslint_suppress_eslintignore
Type: |Number|
Default: `0`
This variable can be set to disable the warning that linting is disabled on
the current file due to being covered by `.eslintignore`.
This variable can be set to `1` to disable warnings for files being ignored
by eslint.
g:ale_javascript_eslint_suppress_missing_config
*g:ale_javascript_eslint_suppress_missing_config*
*b:ale_javascript_eslint_suppress_missing_config*
Type: |Number|
Default: `0`
This variable can be set to `1` to disable errors for missing eslint
configuration files.
When turning this option on, eslint will not report any problems when no
configuration files are found.
===============================================================================