perl hooks for https://pre-commit.com/
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.pre-commit-config.yaml
.pre-commit-hooks.yaml
CHANGELOG.md
LICENSE
README.md
run-perlcritic.sh
run-perltidy.sh

README.md

pre-commit-perl

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

Using these hooks

Add this to your .pre-commit-config.yaml

- repo: github.com/henryykt/pre-commit-perl
  rev: v0.0.4
  hooks:
    - id: perlcritic
    - id: perltidy

Available hooks

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