diff options
author | Steven Humphrey <shumphrey@users.noreply.github.com> | 2017-06-11 21:13:47 +0100 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2017-06-11 21:13:47 +0100 |
commit | 99263bdda446ec9c28ab92c3cafe8b166ac7fca8 (patch) | |
tree | 5fe88feff10c341315a3619df399a2b81e9a30a4 /doc | |
parent | 64ad51048d8f490b57ca6e74864f4de3777ec2a7 (diff) | |
download | ale-99263bdda446ec9c28ab92c3cafe8b166ac7fca8.zip |
Perlcritic column number and rule names (#640)
* 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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-perl.txt | 12 | ||||
-rw-r--r-- | doc/ale.txt | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/doc/ale-perl.txt b/doc/ale-perl.txt index 58940ca7..8349dff7 100644 --- a/doc/ale-perl.txt +++ b/doc/ale-perl.txt @@ -23,4 +23,16 @@ g:ale_perl_perl_options *g:ale_perl_perl_options* ------------------------------------------------------------------------------- +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: diff --git a/doc/ale.txt b/doc/ale.txt index fbcf490c..4159986c 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -63,6 +63,7 @@ CONTENTS *ale-contents* merlin..............................|ale-ocaml-merlin| perl..................................|ale-perl-options| perl................................|ale-perl-perl| + perlcritic..........................|ale-perl-perlcritic| php...................................|ale-php-options| phpcs...............................|ale-php-phpcs| phpmd...............................|ale-php-phpmd| |