2017-03-28 18:25:44 -04:00
|
|
|
===============================================================================
|
2017-04-27 17:04:34 -04:00
|
|
|
ALE YAML Integration *ale-yaml-options*
|
2017-03-28 18:25:44 -04:00
|
|
|
|
2018-08-08 13:48:28 -04:00
|
|
|
===============================================================================
|
|
|
|
prettier *ale-yaml-prettier*
|
|
|
|
|
|
|
|
Website: https://github.com/prettier/prettier
|
|
|
|
|
|
|
|
|
|
|
|
Installation
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Install prettier either globally or locally: >
|
2017-03-28 18:25:44 -04:00
|
|
|
|
2018-08-08 13:48:28 -04:00
|
|
|
npm install prettier -g # global
|
|
|
|
npm install prettier # local
|
|
|
|
<
|
|
|
|
|
2017-07-17 15:28:21 -04: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-04-09 14:11:20 -04:00
|
|
|
Default: `get(g:, 'ale_use_global_executables', 0)`
|
2017-07-17 15:28:21 -04:00
|
|
|
|
|
|
|
See |ale-integrations-local-executables|
|
|
|
|
|
|
|
|
|
2017-07-08 09:17:26 -04:00
|
|
|
===============================================================================
|
2017-03-28 18:25:44 -04:00
|
|
|
yamllint *ale-yaml-yamllint*
|
|
|
|
|
2017-07-08 09:42:39 -04:00
|
|
|
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
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
2017-03-28 18:25:44 -04:00
|
|
|
g:ale_yaml_yamllint_executable *g:ale_yaml_yamllint_executable*
|
2017-04-27 17:04:34 -04:00
|
|
|
*b:ale_yaml_yamllint_executable*
|
2017-03-28 18:25:44 -04:00
|
|
|
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*
|
2017-04-27 17:04:34 -04:00
|
|
|
*b:ale_yaml_yamllint_options*
|
2017-03-28 18:25:44 -04:00
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
This variable can be set to pass additional options to yamllint.
|
|
|
|
|
|
|
|
|
2017-07-08 09:17:26 -04:00
|
|
|
===============================================================================
|
2017-03-28 18:25:44 -04:00
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|