mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-16 01:07:06 +08:00
Disable rpmlint by default (#492)
* Disable rpmlint by default as it is not safe.
This commit is contained in:
@@ -1,11 +1,24 @@
|
||||
===============================================================================
|
||||
ALE RPM Spec Integration *ale-spec-options*
|
||||
*ale-integration-spec*
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
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:
|
||||
|
||||
let g:ale_linters = {'spec': ['rpmlint']}
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
rpmlint *ale-spec-rpmlint*
|
||||
|
||||
g:ale_spec_rpmlint_executable *g:ale_spec_rpmlint_executable*
|
||||
g:ale_spec_rpmlint_executable *g:ale_spec_rpmlint_executable*
|
||||
|
||||
Type: |String|
|
||||
Default: `'rpmlint'`
|
||||
@@ -13,7 +26,7 @@ g:ale_spec_rpmlint_executable *g:ale_spec_rpmlint_executable*
|
||||
This variable sets executable used for rpmlint.
|
||||
|
||||
|
||||
g:ale_spec_rpmlint_options *g:ale_spec_rpmlint_options*
|
||||
g:ale_spec_rpmlint_options *g:ale_spec_rpmlint_options*
|
||||
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
Reference in New Issue
Block a user