summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Lupu <lupu.daniel.f@gmail.com>2017-02-09 20:54:49 +0200
committerw0rp <w0rp@users.noreply.github.com>2017-02-09 18:54:49 +0000
commitd8efd4fa73277908467ba59926428ca22703df27 (patch)
treedb9bcead176e16b82c4ce35c322a3092290e769b /doc
parent6dfed8576e881c71f242c6d8d9a2502f0bb50f99 (diff)
downloadale-d8efd4fa73277908467ba59926428ca22703df27.zip
add xo support (#304)
* add xo support * add documentation * Fix a screw up when fixing conflicts * Fix it harder
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt38
1 files changed, 37 insertions, 1 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index 187251f6..348be809 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -36,6 +36,7 @@ CONTENTS *ale-contents*
4.24. python-pylint...................|ale-linter-options-python-pylint|
4.25. erlang..........................|ale-linter-options-erlang|
4.26. phpmd...........................|ale-linter-options-phpmd|
+ 4.27. xo..............................|ale-linter-options-xo|
5. Linter Integration Notes.............|ale-linter-integration|
5.1. merlin..........................|ale-linter-integration-ocaml-merlin|
5.2. rust.............................|ale-integration-rust|
@@ -86,7 +87,7 @@ The following languages and tools are supported.
* Go: 'gofmt -e', 'go vet', 'golint', 'go build'
* Haskell: 'ghc', 'hlint'
* HTML: 'HTMLHint', 'tidy'
-* JavaScript: 'eslint', 'jscs', 'jshint', 'flow'
+* JavaScript: 'eslint', 'jscs', 'jshint', 'flow', 'xo'
* JSON: 'jsonlint'
* LaTeX: 'chktex', 'lacheck'
* Lua: 'luacheck'
@@ -892,6 +893,41 @@ g:ale_php_phpmd_ruleset *g:ale_php_phpmd_ruleset*
This variable controls the ruleset used by phpmd. Default is to use all of
the available phpmd rulesets
+------------------------------------------------------------------------------
+4.27. xo *ale-linter-options-xo*
+
+g:ale_javascript_xo_executable *g:ale_javascript_xo_executable*
+
+ Type: |String|
+ Default: `'xo'`
+
+ ALE will first discover the xo path in an ancestor node_modules
+ directory. If no such path exists, this variable will be used instead.
+
+ This variable can be set to change the path to xo.
+
+ If you wish to use only a globally installed version of xo, set
+ |g:ale_javascript_xo_use_global| to `1`.
+
+
+g:ale_javascript_xo_options *g:ale_javascript_xo_options*
+
+ Type: |String|
+ Default: `''`
+
+ This variable can be set to pass additional options to xo.
+
+
+g:ale_javascript_xo_use_global *g:ale_javascript_xo_use_global*
+
+ Type: |String|
+ Default: `0`
+
+ This variable controls whether or not ALE will search for a local path for
+ xo first. If this variable is set to `1`, then ALE will always use the
+ global version of xo, in preference to locally installed versions of
+ xo in node_modules.
+
===============================================================================
5. Linter Integration Notes *ale-linter-integration*