99263bdda4
* Add column number to perlcritic linting output This returns the column number of the perlcritic error so that ale can show the column in addition to the line where perlcritic found an error. * Add perlcritic configuration for rule names This adds a configuration setting so that the name of the perlcritic rule is shown [Rule::Name] after the error message. This is useful to lookup the rule failure. * Add a vader test for perlcritic#GetCommand
38 lines
1.4 KiB
Text
38 lines
1.4 KiB
Text
===============================================================================
|
|
ALE Perl Integration *ale-perl-options*
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
perl *ale-perl-perl*
|
|
|
|
g:ale_perl_perl_executable *g:ale_perl_perl_executable*
|
|
*b:ale_perl_perl_executable*
|
|
Type: |String|
|
|
Default: `'perl'`
|
|
|
|
This variable can be changed to modify the executable used for linting perl.
|
|
|
|
|
|
g:ale_perl_perl_options *g:ale_perl_perl_options*
|
|
*b:ale_perl_perl_options*
|
|
Type: |String|
|
|
Default: `'-c -Mwarnings -Ilib'`
|
|
|
|
This variable can be changed to alter the command-line arguments to the perl
|
|
invocation.
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
perlcritic *ale-perl-perlcritic*
|
|
|
|
g:ale_perl_perlcritic_showrules *g:ale_perl_perlcritic_showrules*
|
|
|
|
Type: |Number|
|
|
Default: 0
|
|
|
|
Controls whether perlcritic rule names are shown after the error message.
|
|
Defaults to off to reduce length of message.
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|