From 4eeb4783d33eafeeda88186c058b8517a21e82bc Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Wed, 19 Apr 2017 17:40:58 -0500 Subject: 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. --- doc/ale-spec.txt | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 doc/ale-spec.txt (limited to 'doc/ale-spec.txt') diff --git a/doc/ale-spec.txt b/doc/ale-spec.txt new file mode 100644 index 00000000..fc6be562 --- /dev/null +++ b/doc/ale-spec.txt @@ -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: -- cgit v1.2.3