mirror of
https://github.com/dense-analysis/ale.git
synced 2026-05-11 09:08:32 +08:00
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:
@@ -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:
|
||||
Reference in New Issue
Block a user