Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 601 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 601 Bytes

pre-commit-perl

perl hooks for https://pre-commit.com/

Using these hooks

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

Available hooks

  • perlcritic - Runs perlcritic --stern --verbose 8. Settings can be overridden by .perlcriticrc.
  • perltidy - Runs perltidy -pbp -nst -w -b. Settings can be overridden by .perltidyrc.
  • perlimports - Runs perlimports --inplace-edit.
  • perlimports-lint - Runs perlimports --lint.