diff options
author | Rafael Rinaldi <rafael@rinaldi.io> | 2018-01-24 10:12:29 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-01-24 10:12:29 +0000 |
commit | d562d531024a2a2210fdf08594639a0b068bacce (patch) | |
tree | 364e0ac2e9cf37171dd5e65cd67844fd3a08c4c3 /doc | |
parent | 038789f0ed42cfffbd442a6a399cb2395591821d (diff) | |
download | ale-d562d531024a2a2210fdf08594639a0b068bacce.zip |
Add jq as a JSON fixer
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-json.txt | 27 | ||||
-rw-r--r-- | doc/ale.txt | 3 |
2 files changed, 29 insertions, 1 deletions
diff --git a/doc/ale-json.txt b/doc/ale-json.txt index 1d052d55..92c4609e 100644 --- a/doc/ale-json.txt +++ b/doc/ale-json.txt @@ -9,6 +9,33 @@ There are no options available. =============================================================================== +jq *ale-json-jq* + +g:ale_json_jq_executable *g:ale_json_jq_executable* + *b:ale_json_jq_executable* + Type: |String| + Default: `'jq'` + + See |ale-integrations-local-executables| + + +g:ale_json_jq_use_global *g:ale_json_jq_use_global* + *b:ale_json_jq_use_global* + Type: |Number| + Default: `0` + + See |ale-integrations-local-executables| + + +g:ale_json_jq_options *g:ale_json_jq_options* + *b:ale_json_jq_options* + Type: |String| + Default: `''` + + This option can be changed to pass extra options to `jq`. + + +=============================================================================== prettier *ale-json-prettier* See |ale-javascript-prettier| for information about the available options. diff --git a/doc/ale.txt b/doc/ale.txt index 47765685..f25e8846 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -113,6 +113,7 @@ CONTENTS *ale-contents* xo..................................|ale-javascript-xo| json..................................|ale-json-options| jsonlint............................|ale-json-jsonlint| + jq..................................|ale-json-jq| prettier............................|ale-json-prettier| kotlin................................|ale-kotlin-options| kotlinc.............................|ale-kotlin-kotlinc| @@ -321,7 +322,7 @@ Notes: * Idris: `idris` * Java: `checkstyle`, `javac`, `google-java-format` * JavaScript: `eslint`, `flow`, `jscs`, `jshint`, `prettier`, `prettier-eslint`, `prettier-standard`, `standard`, `xo` -* JSON: `jsonlint`, `prettier` +* JSON: `jsonlint`, `jq`, `prettier` * Kotlin: `kotlinc`, `ktlint` * LaTeX (tex): `alex`!!, `chktex`, `lacheck`, `proselint`, `redpen`, `vale`, `write-good` * Less: `lessc`, `prettier`, `stylelint` |