Some checks failed
Detach Plugins / check (FlyGrep.vim) (push) Has been cancelled
Detach Plugins / check (GitHub.vim) (push) Has been cancelled
Detach Plugins / check (JavaUnit.vim) (push) Has been cancelled
Detach Plugins / check (SourceCounter.vim) (push) Has been cancelled
Detach Plugins / check (cpicker.nvim) (push) Has been cancelled
Detach Plugins / check (dein-ui.vim) (push) Has been cancelled
Detach Plugins / check (git.vim) (push) Has been cancelled
Detach Plugins / check (iedit.vim) (push) Has been cancelled
Detach Plugins / check (scrollbar.vim) (push) Has been cancelled
Detach Plugins / check (vim-chat) (push) Has been cancelled
Detach Plugins / check (vim-cheat) (push) Has been cancelled
Detach Plugins / check (vim-todo) (push) Has been cancelled
Detach Plugins / check (xmake.vim) (push) Has been cancelled
test / Linux (nvim, nightly) (push) Has been cancelled
test / Linux (nvim, v0.3.8) (push) Has been cancelled
test / Linux (nvim, v0.4.0) (push) Has been cancelled
test / Linux (nvim, v0.4.2) (push) Has been cancelled
test / Linux (nvim, v0.4.3) (push) Has been cancelled
test / Linux (nvim, v0.4.4) (push) Has been cancelled
test / Linux (nvim, v0.5.0) (push) Has been cancelled
test / Linux (nvim, v0.5.1) (push) Has been cancelled
test / Linux (nvim, v0.6.0) (push) Has been cancelled
test / Linux (nvim, v0.6.1) (push) Has been cancelled
test / Linux (nvim, v0.7.0) (push) Has been cancelled
test / Linux (nvim, v0.7.2) (push) Has been cancelled
test / Linux (nvim, v0.8.0) (push) Has been cancelled
test / Linux (nvim, v0.8.1) (push) Has been cancelled
test / Linux (nvim, v0.8.2) (push) Has been cancelled
test / Linux (nvim, v0.8.3) (push) Has been cancelled
test / Linux (nvim, v0.9.0) (push) Has been cancelled
test / Linux (nvim, v0.9.1) (push) Has been cancelled
test / Linux (true, vim, v7.4.052) (push) Has been cancelled
test / Linux (true, vim, v7.4.1689) (push) Has been cancelled
test / Linux (true, vim, v7.4.629) (push) Has been cancelled
test / Linux (true, vim, v8.0.0027) (push) Has been cancelled
test / Linux (true, vim, v8.0.0183) (push) Has been cancelled
test / Linux (vim, nightly) (push) Has been cancelled
test / Linux (vim, v8.0.0184) (push) Has been cancelled
test / Linux (vim, v8.0.1453) (push) Has been cancelled
test / Linux (vim, v8.1.2269) (push) Has been cancelled
test / Linux (vim, v8.2.2434) (push) Has been cancelled
test / Linux (vim, v8.2.3995) (push) Has been cancelled
test / Windows (nvim, nightly) (push) Has been cancelled
test / Windows (nvim, v0.3.8) (push) Has been cancelled
test / Windows (nvim, v0.4.2) (push) Has been cancelled
test / Windows (nvim, v0.4.3) (push) Has been cancelled
test / Windows (nvim, v0.4.4) (push) Has been cancelled
test / Windows (nvim, v0.5.0) (push) Has been cancelled
test / Windows (nvim, v0.5.1) (push) Has been cancelled
test / Windows (nvim, v0.6.0) (push) Has been cancelled
test / Windows (nvim, v0.6.1) (push) Has been cancelled
test / Windows (nvim, v0.7.0) (push) Has been cancelled
test / Windows (nvim, v0.7.2) (push) Has been cancelled
test / Windows (nvim, v0.8.0) (push) Has been cancelled
test / Windows (nvim, v0.8.1) (push) Has been cancelled
test / Windows (nvim, v0.8.2) (push) Has been cancelled
test / Windows (nvim, v0.8.3) (push) Has been cancelled
test / Windows (nvim, v0.9.0) (push) Has been cancelled
test / Windows (nvim, v0.9.1) (push) Has been cancelled
test / Windows (vim, nightly) (push) Has been cancelled
test / Windows (vim, v7.4.1185) (push) Has been cancelled
test / Windows (vim, v7.4.1689) (push) Has been cancelled
test / Windows (vim, v8.0.0027) (push) Has been cancelled
test / Windows (vim, v8.0.1453) (push) Has been cancelled
test / Windows (vim, v8.1.2269) (push) Has been cancelled
test / Windows (vim, v8.2.2434) (push) Has been cancelled
test / Windows (vim, v8.2.3995) (push) Has been cancelled
docker / docker (push) Has been cancelled
mirror / check (coding) (push) Has been cancelled
mirror / check (gitee) (push) Has been cancelled
mirror / check (gitlab) (push) Has been cancelled
178 lines
6.0 KiB
Plaintext
178 lines
6.0 KiB
Plaintext
===============================================================================
|
|
ALE JSON Integration *ale-json-options*
|
|
|
|
|
|
===============================================================================
|
|
clang-format *ale-json-clangformat*
|
|
|
|
See |ale-c-clangformat| for information about the available options.
|
|
Note that the C options are also used for JSON.
|
|
|
|
|
|
===============================================================================
|
|
cspell *ale-json-cspell*
|
|
|
|
See |ale-cspell-options|
|
|
|
|
|
|
===============================================================================
|
|
dprint *ale-json-dprint*
|
|
|
|
See |ale-dprint-options| and https://dprint.dev/plugins/json
|
|
|
|
|
|
===============================================================================
|
|
eslint *ale-json-eslint*
|
|
|
|
The `eslint` linter for JSON uses the JavaScript options for `eslint`; see:
|
|
|ale-javascript-eslint|.
|
|
|
|
You will need a JSON ESLint plugin installed for this to work.
|
|
|
|
|
|
===============================================================================
|
|
fixjson *ale-json-fixjson*
|
|
|
|
fixjson is a JSON file fixer/formatter for humans using (relaxed) JSON5.
|
|
It provides:
|
|
|
|
- Pretty-prints JSON input
|
|
- Fixes various failures while humans writing JSON
|
|
- Fixes trailing commas objects or arrays
|
|
- Fixes missing commas for elements of objects or arrays
|
|
- Adds quotes to keys in objects
|
|
- Newlines in strings
|
|
- Hex numbers
|
|
- Fixes single quotes to double quotes
|
|
|
|
You can install it using npm:
|
|
>
|
|
$ npm install -g fixjson
|
|
<
|
|
ALE provides fixjson integration as a fixer. See |ale-fix|.
|
|
|
|
g:ale_json_fixjson_executable *g:ale_json_fixjson_executable*
|
|
*b:ale_json_fixjson_executable*
|
|
|
|
Type: |String|
|
|
Default: `'fixjson'`
|
|
|
|
The executable that will be run for fixjson.
|
|
|
|
g:ale_json_fixjson_options *g:ale_json_fixjson_options*
|
|
*b:ale_json_fixjson_options*
|
|
|
|
Type: |String|
|
|
Default: `''`
|
|
|
|
This variable can add extra options to the command executed for running
|
|
fixjson.
|
|
|
|
g:ale_json_fixjson_use_global *g:ale_json_fixjson_use_global*
|
|
*b:ale_json_fixjson_use_global*
|
|
|
|
Type: |Number|
|
|
Default: `get(g:, 'ale_use_global_executables', 0)`
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
===============================================================================
|
|
jsonlint *ale-json-jsonlint*
|
|
|
|
g:ale_json_jsonlint_executable *g:ale_json_jsonlint_executable*
|
|
*b:ale_json_jsonlint_executable*
|
|
|
|
Type: |String|
|
|
Default: `'jsonlint'`
|
|
|
|
The executable that will be run for jsonlint.
|
|
|
|
g:ale_json_jsonlint_use_global *g:ale_json_jsonlint_use_global*
|
|
*b:ale_json_jsonlint_use_global*
|
|
|
|
Type: |Number|
|
|
Default: `get(g:, 'ale_use_global_executables', 0)`
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
===============================================================================
|
|
jq *ale-json-jq*
|
|
|
|
g:ale_json_jq_executable *g:ale_json_jq_executable*
|
|
*b:ale_json_jq_executable*
|
|
Type: |String|
|
|
Default: `'jq'`
|
|
|
|
This option can be changed to change the path for `jq`.
|
|
|
|
|
|
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`.
|
|
|
|
g:ale_json_jq_filters *g:ale_json_jq_filters*
|
|
*b:ale_json_jq_filters*
|
|
Type: |String|
|
|
Default: `'.'`
|
|
|
|
This option can be changed to pass custom filters to `jq`.
|
|
|
|
|
|
===============================================================================
|
|
prettier *ale-json-prettier*
|
|
|
|
See |ale-javascript-prettier| for information about the available options.
|
|
|
|
|
|
===============================================================================
|
|
spectral *ale-json-spectral*
|
|
|
|
Website: https://github.com/stoplightio/spectral
|
|
|
|
Installation
|
|
-------------------------------------------------------------------------------
|
|
|
|
Install spectral either globally or locally: >
|
|
|
|
npm install @stoplight/spectral -g # global
|
|
npm install @stoplight/spectral # local
|
|
<
|
|
|
|
Options
|
|
-------------------------------------------------------------------------------
|
|
|
|
g:ale_json_spectral_executable *g:ale_json_spectral_executable*
|
|
*b:ale_json_spectral_executable*
|
|
Type: |String|
|
|
Default: `'spectral'`
|
|
|
|
This variable can be set to change the path to spectral.
|
|
|
|
g:ale_json_spectral_use_global *g:ale_json_spectral_use_global*
|
|
*b:ale_json_spectral_use_global*
|
|
Type: |String|
|
|
Default: `get(g:, 'ale_use_global_executables', 0)`
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
===============================================================================
|
|
vscodejson *ale-json-vscode*
|
|
|
|
Website: https://github.com/hrsh7th/vscode-langservers-extracted
|
|
|
|
Installation
|
|
-------------------------------------------------------------------------------
|
|
|
|
Install VSCode json language server either globally or locally: >
|
|
|
|
npm install -g vscode-langservers-extracted
|
|
<
|
|
|
|
===============================================================================
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|