diff options
author | diartyz <diartyz@gmail.com> | 2016-12-22 19:39:01 +0800 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2016-12-22 11:39:01 +0000 |
commit | 6c0996eb9c3181c8dde1302b544787be758cc37b (patch) | |
tree | 0a9ffc481e59c3c1fa34aec414a40441ef29fd64 /doc/ale.txt | |
parent | cd6d8f2ab62e30571da9384c561da03b36f60b1c (diff) | |
download | ale-6c0996eb9c3181c8dde1302b544787be758cc37b.zip |
[enhancement] add node_modules support for stylelint & htmlhint (#226)
* Add node_modules support for stylelint
* add node_modules support for htmlhint
* fix stdin
* update doc about stylelint & htmlhint
Diffstat (limited to 'doc/ale.txt')
-rw-r--r-- | doc/ale.txt | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/doc/ale.txt b/doc/ale.txt index 6ee90a51..3d8412e8 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -600,6 +600,27 @@ g:ale_html_htmlhint_options *g:ale_html_htmlhint_options* This variable can be changed to modify flags given to HTMLHint. +g:ale_html_htmlhint_executable *g:ale_html_htmlhint_executable* + + Type: |String| + Default: `'htmlhint'` + + ALE will first discover the htmlhint path in an ancestor node_modules + directory. If no such path exists, this variable will be used instead. + + If you wish to use only a globally installed version of htmlhint, set + |g:ale_html_htmlhint_use_global| to `1`. + + +g:ale_html_htmlhint_use_global *g:ale_html_htmlhint_use_global* + + Type: |String| + Default: `0` + + This variable controls whether or not ALE will search for a local path for + htmlhint first. If this variable is set to `1`, then ALE will always use the + global version of htmlhint, in preference to locally installed versions of + htmlhint in node_modules. ------------------------------------------------------------------------------- 4.16. c-clang *ale-linter-options-c-clang* @@ -676,6 +697,75 @@ g:ale_lacheck_executable *g:ale_lacheck_executable* This variable can be changed to change the path to lacheck. +------------------------------------------------------------------------------- +4.21. stylelint *ale-linter-options-stylelint* + +g:ale_css_stylelint_executable *g:ale_css_stylelint_executable* + + Type: |String| + Default: `'stylelint'` + + ALE will first discover the stylelint path in an ancestor node_modules + directory. If no such path exists, this variable will be used instead. + + If you wish to use only a globally installed version of stylelint, set + |g:ale_css_stylelint_use_global| to `1`. + + +g:ale_css_stylelint_use_global *g:ale_css_stylelint_use_global* + + Type: |String| + Default: `0` + + This variable controls whether or not ALE will search for a local path for + stylelint first. If this variable is set to `1`, then ALE will always use the + global version of stylelint, in preference to locally installed versions of + stylelint in node_modules. + +g:ale_scss_stylelint_executable *g:ale_scss_stylelint_executable* + + Type: |String| + Default: `'stylelint'` + + ALE will first discover the stylelint path in an ancestor node_modules + directory. If no such path exists, this variable will be used instead. + + If you wish to use only a globally installed version of stylelint, set + |g:ale_scss_stylelint_use_global| to `1`. + + +g:ale_scss_stylelint_use_global *g:ale_scss_stylelint_use_global* + + Type: |String| + Default: `0` + + This variable controls whether or not ALE will search for a local path for + stylelint first. If this variable is set to `1`, then ALE will always use the + global version of stylelint, in preference to locally installed versions of + stylelint in node_modules. + +g:ale_scss_stylelint_executable *g:ale_scss_stylelint_executable* + + Type: |String| + Default: `'stylelint'` + + ALE will first discover the stylelint path in an ancestor node_modules + directory. If no such path exists, this variable will be used instead. + + If you wish to use only a globally installed version of stylelint, set + |g:ale_scss_stylelint_use_global| to `1`. + + +g:ale_scss_stylelint_use_global *g:ale_scss_stylelint_use_global* + + Type: |String| + Default: `0` + + This variable controls whether or not ALE will search for a local path for + stylelint first. If this variable is set to `1`, then ALE will always use the + global version of stylelint, in preference to locally installed versions of + stylelint in node_modules. + =============================================================================== 5. Linter Integration Notes *ale-linter-integration* |