perlcritic

perlcritic is a linter for Perl.

You can enable the perlcritic linter with:

trunk check enable perlcritic

Auto Enabling

perlcritic will be auto-enabled if a .perlcriticrc config file is present.

Settings

perlcritic supports the following config files:

  • .perlcriticrc

You can move these files to .trunk/configs and trunk check will still find them. See Moving Linters for more info. Trunk Code Quality provides a default .perlcriticrc if your project does not already have one.

Last updated