From 3f1cab3e7ee3d7e90062e32e7d8c9557077c08a8 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Thu, 29 Jun 2017 07:08:51 -0500 Subject: Add profile, other options to the perlcritic linter (#675) * Add profile, other options to the perlcritic linter --- doc/ale-perl.txt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'doc/ale-perl.txt') diff --git a/doc/ale-perl.txt b/doc/ale-perl.txt index 8349dff7..4425bda5 100644 --- a/doc/ale-perl.txt +++ b/doc/ale-perl.txt @@ -25,6 +25,37 @@ g:ale_perl_perl_options *g:ale_perl_perl_options* ------------------------------------------------------------------------------- perlcritic *ale-perl-perlcritic* +g:ale_perl_perlcritic_executable *g:ale_perl_perlcritic_executable* + *b:ale_perl_perlcritic_executable* + Type: |String| + Default: `'perlcritic'` + + This variable can be changed to modify the perlcritic executable used for + linting perl. + + +g:ale_perl_perlcritic_profile *g:ale_perl_perlcritic_profile* + *b:ale_perl_perlcritic_profile* + Type: |String| + Default: `'.perlcriticrc'` + + This variable can be changed to modify the perlcritic profile used for + linting perl. The current directory is checked for the file, then the + parent directory, etc, until it finds one. If no matching file is found, no + profile is passed to perlcritic. + + Set to an empty string to disable using a profile. + + +g:ale_perl_perlcritic_options *g:ale_perl_perlcritic_options* + *b:ale_perl_perlcritic_options* + Type: |String| + Default: `''` + + This variable can be changed to supply additional command-line arguments to + the perlcritic invocation. + + g:ale_perl_perlcritic_showrules *g:ale_perl_perlcritic_showrules* Type: |Number| -- cgit v1.2.3