summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorharttle <yangjvn@126.com>2019-03-26 20:40:51 +0800
committerharttle <yangjvn@126.com>2019-04-11 16:24:58 +0800
commitc820089c4434b621e8b30fbe73bbf9d01ee44f6f (patch)
treedeff31ecaa7e2db9cde4cb791d1c47f4be55bc3c /doc
parent481316561445a4048a96a2c6bd41e9b623d8919f (diff)
downloadale-c820089c4434b621e8b30fbe73bbf9d01ee44f6f.zip
feat: fecs support for js/html/css lint and format
`fecs` is a lint tool for HTML/CSS/JavaScript, see http://fecs.baidu.com for more options.
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-css.txt8
-rw-r--r--doc/ale-html.txt8
-rw-r--r--doc/ale-javascript.txt27
-rw-r--r--doc/ale-supported-languages-and-tools.txt3
-rw-r--r--doc/ale.txt3
5 files changed, 49 insertions, 0 deletions
diff --git a/doc/ale-css.txt b/doc/ale-css.txt
index f3cae385..a1e0ac5c 100644
--- a/doc/ale-css.txt
+++ b/doc/ale-css.txt
@@ -3,6 +3,14 @@ ALE CSS Integration *ale-css-options*
===============================================================================
+fecs *ale-css-fecs*
+
+`fecs` options for CSS is the same as the options for JavaScript,
+and both of them reads `./.fecsrc` as the default configuration file.
+See: |ale-javascript-fecs|.
+
+
+===============================================================================
prettier *ale-css-prettier*
See |ale-javascript-prettier| for information about the available options.
diff --git a/doc/ale-html.txt b/doc/ale-html.txt
index 1d30929f..5d6b20e2 100644
--- a/doc/ale-html.txt
+++ b/doc/ale-html.txt
@@ -3,6 +3,14 @@ ALE HTML Integration *ale-html-options*
===============================================================================
+fecs *ale-html-fecs*
+
+`fecs` options for HTMl is the same as the options for JavaScript,
+and both of them reads `./.fecsrc` as the default configuration file.
+See: |ale-javascript-fecs|.
+
+
+===============================================================================
htmlhint *ale-html-htmlhint*
g:ale_html_htmlhint_executable *g:ale_html_htmlhint_executable*
diff --git a/doc/ale-javascript.txt b/doc/ale-javascript.txt
index 53a70fd7..ea0a7089 100644
--- a/doc/ale-javascript.txt
+++ b/doc/ale-javascript.txt
@@ -74,6 +74,33 @@ g:ale_javascript_eslint_suppress_missing_config
===============================================================================
+fecs *ale-javascript-fecs*
+
+`fecs` is a lint tool for HTML/CSS/JavaScript, can be installed via:
+
+ `$ npm install --save-dev fecs`
+
+And the configuration file is located at `./fecsrc`, see http://fecs.baidu.com
+for more options.
+
+
+g:ale_javascript_fecs_executable *g:ale_javascript_fecs_executable*
+ *b:ale_javascript_fecs_executable*
+ Type: |String|
+ Default: `'fecs'`
+
+ See |ale-integrations-local-executables|
+
+
+g:ale_javascript_fecs_use_global *g:ale_javascript_fecs_use_global*
+ *b:ale_javascript_fecs_use_global*
+ Type: |Number|
+ Default: `get(g:, 'ale_use_global_executables', 0)`
+
+ See |ale-integrations-local-executables|
+
+
+===============================================================================
flow *ale-javascript-flow*
g:ale_javascript_flow_executable *g:ale_javascript_flow_executable*
diff --git a/doc/ale-supported-languages-and-tools.txt b/doc/ale-supported-languages-and-tools.txt
index eff2e607..59115b81 100644
--- a/doc/ale-supported-languages-and-tools.txt
+++ b/doc/ale-supported-languages-and-tools.txt
@@ -187,6 +187,7 @@ Notes:
* `terraform-fmt`
* HTML
* `alex`!!
+ * `fecs`
* `HTMLHint`
* `prettier`
* `proselint`
@@ -205,6 +206,7 @@ Notes:
* `uncrustify`
* JavaScript
* `eslint`
+ * `fecs`
* `flow`
* `jscs`
* `jshint`
@@ -437,6 +439,7 @@ Notes:
* `thrift`
* TypeScript
* `eslint`
+ * `fecs`
* `prettier`
* `tslint`
* `tsserver`
diff --git a/doc/ale.txt b/doc/ale.txt
index 6d78fd89..f6ce9894 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -1893,6 +1893,7 @@ documented in additional help files.
mcsc..................................|ale-cs-mcsc|
uncrustify............................|ale-cs-uncrustify|
css.....................................|ale-css-options|
+ fecs..................................|ale-css-fecs|
prettier..............................|ale-css-prettier|
stylelint.............................|ale-css-stylelint|
cuda....................................|ale-cuda-options|
@@ -1970,6 +1971,7 @@ documented in additional help files.
hcl.....................................|ale-hcl-options|
terraform-fmt.........................|ale-hcl-terraform-fmt|
html....................................|ale-html-options|
+ fecs..................................|ale-html-fecs|
htmlhint..............................|ale-html-htmlhint|
tidy..................................|ale-html-tidy|
prettier..............................|ale-html-prettier|
@@ -1988,6 +1990,7 @@ documented in additional help files.
uncrustify............................|ale-java-uncrustify|
javascript..............................|ale-javascript-options|
eslint................................|ale-javascript-eslint|
+ fecs..................................|ale-javascript-fecs|
flow..................................|ale-javascript-flow|
importjs..............................|ale-javascript-importjs|
jscs..................................|ale-javascript-jscs|