Skip to content

henryykt/pre-commit-perl

Repository files navigation

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.

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages