Add a script and a config file to run perlcritic

Enterprise / PostgreSQL - Andrew Dunstan [dunslane.net] - 9 May 2018 11:55 EDT

This is similar to what we do to run perltidy. For now we only run at severity level 5. Over time we can improve our perl code and reduce the severity level.

Discussion: https://postgr.es/m/86aa2a3a-0c68-21fb-9560-84ad6914d561@2ndQuadrant.com

91703ca214 Add a script and a config file to run perlcritic
src/tools/pgperlcritic/perlcriticrc | 14 ++++++++++++++
src/tools/pgperlcritic/pgperlcritic | 28 ++++++++++++++++++++++++++++
2 files changed, 42 insertions(+)

Upstream: git.postgresql.org


  • Share