Add rpm spec file linter (rpmlint) (#486)

* Initial attempt at an rpmlint linter.

* Add some basic documentation.

* Play with indentation in the test file.

* Another attempt to fix the rpmlint test.

* Hopefully this does it.
This commit is contained in:
Jason Tibbitts
2017-04-19 17:40:58 -05:00
committed by w0rp
parent d8dcc56af5
commit 4eeb4783d3
5 changed files with 146 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
===============================================================================
ALE RPM Spec Integration *ale-spec-options*
-------------------------------------------------------------------------------
rpmlint *ale-spec-rpmlint*
g:ale_spec_rpmlint_executable *g:ale_spec_rpmlint_executable*
Type: |String|
Default: `'rpmlint'`
This variable sets executable used for rpmlint.
g:ale_spec_rpmlint_options *g:ale_spec_rpmlint_options*
Type: |String|
Default: `''`
Set this to pass extra arguments to rpmlint.
For example, to instruct rpmlint to use a specific configuration file:
let g:ale_spec_rpmlint_options = '-f custom.cf'
-------------------------------------------------------------------------------
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: