Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Perl::Critic and Perl::Tidy

by chotchki (Novice)
on May 25, 2007 at 19:51 UTC ( #617587=note: print w/replies, xml ) Need Help??


in reply to Perl::Critic and Perl::Tidy

Have you tried turning up perlcritic's strictness level? I tend to use it with the -brutal flag for maximum error checking. However be careful it does complain about thing that may not apply to you (RCS tags for example).

Replies are listed 'Best First'.
Re^2: Perl::Critic and Perl::Tidy
by InfiniteLoop (Hermit) on May 25, 2007 at 20:00 UTC
    got it !! The issue was that I was running with severity at "gentle" and Perl::Critic would apply the Tidy check only at severity "brutal", I fixed it by using this conf:
    [CodeLayout::RequireTidyCode] perltidyrc = /svn/hooks/perltidy.conf severity = 5
Re^2: Perl::Critic and Perl::Tidy
by InfiniteLoop (Hermit) on May 25, 2007 at 19:55 UTC
    with a higher strictness, it does detect violations, but none related to code overflowing 80 col or such coding styles.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://617587]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2020-08-10 08:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (56 votes). Check out past polls.

    Notices?