summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPeter Benjamin <petermbenjamin@gmail.com>2018-08-08 10:48:28 -0700
committerw0rp <w0rp@users.noreply.github.com>2018-08-08 18:48:28 +0100
commit8faa11752ccdad43b97f8168e3d48880ee2272b2 (patch)
tree4153185702b5b10518b6b2f0887dd5550f0c3eed /doc
parent7179f92e44146a42d06924e139817675653c97e6 (diff)
downloadale-8faa11752ccdad43b97f8168e3d48880ee2272b2.zip
Add prettier as a YAML option (#1789)
* Add prettier as a yaml fixer * Sort yaml fixers alphabetically * Add prettier to doc/ale.txt * Add ale-yaml-prettier * Add ale-yaml-prettier to the TOC
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-yaml.txt14
-rw-r--r--doc/ale.txt3
2 files changed, 16 insertions, 1 deletions
diff --git a/doc/ale-yaml.txt b/doc/ale-yaml.txt
index 044d0b3d..c9a12ea1 100644
--- a/doc/ale-yaml.txt
+++ b/doc/ale-yaml.txt
@@ -1,7 +1,21 @@
===============================================================================
ALE YAML Integration *ale-yaml-options*
+===============================================================================
+prettier *ale-yaml-prettier*
+
+Website: https://github.com/prettier/prettier
+
+
+Installation
+-------------------------------------------------------------------------------
+Install prettier either globally or locally: >
+
+ npm install prettier -g # global
+ npm install prettier # local
+<
+
===============================================================================
swaglint *ale-yaml-swaglint*
diff --git a/doc/ale.txt b/doc/ale.txt
index 3549a010..8af4c435 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -290,6 +290,7 @@ CONTENTS *ale-contents*
xml...................................|ale-xml-options|
xmllint.............................|ale-xml-xmllint|
yaml..................................|ale-yaml-options|
+ prettier............................|ale-yaml-prettier|
swaglint............................|ale-yaml-swaglint|
yamllint............................|ale-yaml-yamllint|
yang..................................|ale-yang-options|
@@ -436,7 +437,7 @@ Notes:
* Vue: `prettier`, `vls`
* XHTML: `alex`!!, `proselint`, `write-good`
* XML: `xmllint`
-* YAML: `swaglint`, `yamllint`
+* YAML: `prettier`, `swaglint`, `yamllint`
* YANG: `yang-lsp`
===============================================================================