Re: perlcritic - Mailing list pgsql-hackers

From Mike Blackwell
Subject Re: perlcritic
Date
Msg-id CANPAkgtDa1AOh5k+Gs63PVuM9FpNK=G1XdCSF+OtKTnKf3hpog@mail.gmail.com
Whole thread Raw
In response to Re: perlcritic  (David Fetter <david@fetter.org>)
Responses Re: perlcritic  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
​David wrote:
 
I believe there are ways to get perlcritic to keep quiet about things
we don't find relevant.  Maybe that's a better way to use it.

​There are indeed.  A .perlcriticrc file can suppress (or add) either individual rules or groups of rules.  I use one to ignore the ones I disagree with, along with the comment form to ignore specific cases.

​I see perlcritic as functioning for me along the same lines as a style guide, giving a consistency that helps with long term maintainability.​
​  It also helps keep me from straying into golf. ^_^​

pgsql-hackers by date:

Previous
From: Roger Pack
Date:
Subject:
Next
From: YUriy Zhuravlev
Date:
Subject: Re: WIP: About CMake v2