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.


perlcritic supports the following config files:

  • .perlcriticrc

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

Last updated