2018-03-31 14:55:20 +00:00
|
|
|
===============================================================================
|
|
|
|
ALE YAML Integration *ale-yaml-options*
|
|
|
|
|
2018-08-25 16:13:42 +00:00
|
|
|
===============================================================================
|
|
|
|
prettier *ale-yaml-prettier*
|
|
|
|
|
|
|
|
Website: https://github.com/prettier/prettier
|
|
|
|
|
|
|
|
|
|
|
|
Installation
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Install prettier either globally or locally: >
|
2018-03-31 14:55:20 +00:00
|
|
|
|
2018-08-25 16:13:42 +00:00
|
|
|
npm install prettier -g # global
|
|
|
|
npm install prettier # local
|
|
|
|
<
|
2021-05-05 08:25:00 +00:00
|
|
|
===============================================================================
|
|
|
|
spectral *ale-yaml-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_yaml_spectral_executable *g:ale_yaml_spectral_executable*
|
|
|
|
*b:ale_yaml_spectral_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'spectral'`
|
|
|
|
|
|
|
|
This variable can be set to change the path to spectral.
|
|
|
|
|
|
|
|
g:ale_yaml_spectral_use_global *g:ale_yaml_spectral_use_global*
|
|
|
|
*b:ale_yaml_spectral_use_global*
|
|
|
|
Type: |String|
|
|
|
|
Default: `get(g:, 'ale_use_global_executables', 0)`
|
|
|
|
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
|
|
|
2018-03-31 14:55:20 +00:00
|
|
|
===============================================================================
|
|
|
|
swaglint *ale-yaml-swaglint*
|
|
|
|
|
|
|
|
Website: https://github.com/byCedric/swaglint
|
|
|
|
|
|
|
|
|
|
|
|
Installation
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Install swaglint either globally or locally: >
|
|
|
|
|
|
|
|
npm install swaglint -g # global
|
|
|
|
npm install swaglint # local
|
|
|
|
<
|
|
|
|
|
|
|
|
Options
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
g:ale_yaml_swaglint_executable *g:ale_yaml_swaglint_executable*
|
|
|
|
*b:ale_yaml_swaglint_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'swaglint'`
|
|
|
|
|
|
|
|
This variable can be set to change the path to swaglint.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_yaml_swaglint_use_global *g:ale_yaml_swaglint_use_global*
|
|
|
|
*b:ale_yaml_swaglint_use_global*
|
|
|
|
Type: |String|
|
2018-06-14 10:31:12 +00:00
|
|
|
Default: `get(g:, 'ale_use_global_executables', 0)`
|
2018-03-31 14:55:20 +00:00
|
|
|
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
2020-12-04 21:15:32 +00:00
|
|
|
===============================================================================
|
|
|
|
yamlfix *ale-yaml-yamlfix*
|
|
|
|
|
|
|
|
Website: https://lyz-code.github.io/yamlfix
|
|
|
|
|
|
|
|
|
|
|
|
Installation
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Install yamlfix: >
|
|
|
|
|
|
|
|
pip install yamlfix
|
|
|
|
<
|
|
|
|
|
|
|
|
Options
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
g:ale_yaml_yamlfix_executable *g:ale_yaml_yamlfix_executable*
|
|
|
|
*b:ale_yaml_yamlfix_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'yamlfix'`
|
|
|
|
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_yaml_yamlfix_options *g:ale_yaml_yamlfix_options*
|
|
|
|
*b:ale_yaml_yamlfix_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be set to pass extra options to yamlfix.
|
|
|
|
|
|
|
|
g:ale_yaml_yamlfix_use_global *g:ale_yaml_yamlfix_use_global*
|
|
|
|
*b:ale_yaml_yamlfix_use_global*
|
|
|
|
Type: |Number|
|
|
|
|
Default: `get(g:, 'ale_use_global_executables', 0)`
|
|
|
|
|
|
|
|
See |ale-integrations-local-executables|
|
2018-03-31 14:55:20 +00:00
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
yamllint *ale-yaml-yamllint*
|
|
|
|
|
|
|
|
Website: https://github.com/adrienverge/yamllint
|
|
|
|
|
|
|
|
|
|
|
|
Installation
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Install yamllint in your a virtualenv directory, locally, or globally: >
|
|
|
|
|
|
|
|
pip install yamllint # After activating virtualenv
|
|
|
|
pip install --user yamllint # Install to ~/.local/bin
|
|
|
|
sudo pip install yamllint # Install globally
|
|
|
|
|
|
|
|
See |g:ale_virtualenv_dir_names| for configuring how ALE searches for
|
|
|
|
virtualenv directories.
|
|
|
|
|
|
|
|
|
|
|
|
Options
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
g:ale_yaml_yamllint_executable *g:ale_yaml_yamllint_executable*
|
|
|
|
*b:ale_yaml_yamllint_executable*
|
|
|
|
Type: |String|
|
|
|
|
Default: `'yamllint'`
|
|
|
|
|
|
|
|
This variable can be set to change the path to yamllint.
|
|
|
|
|
|
|
|
|
|
|
|
g:ale_yaml_yamllint_options *g:ale_yaml_yamllint_options*
|
|
|
|
*b:ale_yaml_yamllint_options*
|
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be set to pass additional options to yamllint.
|
|
|
|
|
|
|
|
|
|
|
|
===============================================================================
|
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|