2017-04-19 18:40:58 -04:00
|
|
|
===============================================================================
|
|
|
|
ALE RPM Spec Integration *ale-spec-options*
|
2017-04-20 11:55:20 -04:00
|
|
|
*ale-integration-spec*
|
2017-04-19 18:40:58 -04:00
|
|
|
|
2017-04-20 11:55:20 -04:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
Integration Information
|
|
|
|
|
|
|
|
The rpmlint linter is disabled by default, because running rpmlint can
|
|
|
|
result in the execution of code embedded in the spec file and rpmlint makes
|
|
|
|
no distinction between checks which are safe to run on untrusted files and
|
|
|
|
those which are not.
|
|
|
|
|
|
|
|
Currently linters must be enabled globally. The rpmlint linter can be
|
|
|
|
enabled with:
|
2017-04-27 17:04:34 -04:00
|
|
|
>
|
2017-04-20 11:55:20 -04:00
|
|
|
let g:ale_linters = {'spec': ['rpmlint']}
|
2017-04-27 17:04:34 -04:00
|
|
|
<
|
2017-04-19 18:40:58 -04:00
|
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
rpmlint *ale-spec-rpmlint*
|
|
|
|
|
2017-04-20 11:55:20 -04:00
|
|
|
g:ale_spec_rpmlint_executable *g:ale_spec_rpmlint_executable*
|
2017-04-27 17:04:34 -04:00
|
|
|
*b:ale_spec_rpmlint_executable*
|
2017-04-19 18:40:58 -04:00
|
|
|
Type: |String|
|
|
|
|
Default: `'rpmlint'`
|
|
|
|
|
|
|
|
This variable sets executable used for rpmlint.
|
|
|
|
|
|
|
|
|
2017-04-20 11:55:20 -04:00
|
|
|
g:ale_spec_rpmlint_options *g:ale_spec_rpmlint_options*
|
2017-04-27 17:04:34 -04:00
|
|
|
*b:ale_spec_rpmlint_options*
|
2017-04-19 18:40:58 -04:00
|
|
|
Type: |String|
|
|
|
|
Default: `''`
|
|
|
|
|
|
|
|
Set this to pass extra arguments to rpmlint.
|
|
|
|
|
|
|
|
For example, to instruct rpmlint to use a specific configuration file:
|
2017-04-27 17:04:34 -04:00
|
|
|
>
|
2017-04-19 18:40:58 -04:00
|
|
|
let g:ale_spec_rpmlint_options = '-f custom.cf'
|
2017-04-27 17:04:34 -04:00
|
|
|
<
|
2017-04-19 18:40:58 -04:00
|
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|