perl hooks for https://pre-commit.com/
Add this to your .pre-commit-config.yaml
- repo: https://github.com/henryykt/pre-commit-perl
rev: v0.0.5
hooks:
- id: perlcritic
- id: perltidy
- id: perlimports
perlcritic
- Runsperlcritic --stern --verbose 8
. Settings can be overridden by .perlcriticrc.perltidy
- Runsperltidy -pbp -nst -w -b
. Settings can be overridden by .perltidyrc.perlimports
- Runsperlimports --inplace-edit
.perlimports-lint
- Runsperlimports --lint
.