mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-24 20:12:27 +08:00
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
This commit is contained in:
@@ -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*
|
||||
|
||||
|
||||
@@ -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`
|
||||
|
||||
===============================================================================
|
||||
|
||||
Reference in New Issue
Block a user