summaryrefslogtreecommitdiff
path: root/doc/ale-spec.txt
diff options
context:
space:
mode:
authorJason Tibbitts <tibbs@math.uh.edu>2017-04-20 10:55:20 -0500
committerw0rp <w0rp@users.noreply.github.com>2017-04-20 16:55:20 +0100
commitc1a2d267117ee7cde612e3d66bf039458fc41ce4 (patch)
tree4f9599eaa3effa715cc64a1f7fb5d14d0231c29d /doc/ale-spec.txt
parent925f24707f9a3a967e46d631cb6cdb9c44f37dc5 (diff)
downloadale-c1a2d267117ee7cde612e3d66bf039458fc41ce4.zip
Disable rpmlint by default (#492)
* Disable rpmlint by default as it is not safe.
Diffstat (limited to 'doc/ale-spec.txt')
-rw-r--r--doc/ale-spec.txt17
1 files changed, 15 insertions, 2 deletions
diff --git a/doc/ale-spec.txt b/doc/ale-spec.txt
index fc6be562..64c56a5f 100644
--- a/doc/ale-spec.txt
+++ b/doc/ale-spec.txt
@@ -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: `''`