Skip to content

Commit

Permalink
chore: fix pre-commit hooks
Browse files Browse the repository at this point in the history
otherwise it runs the prettier check on commit messages and finds no files
  • Loading branch information
alexeagle committed Sep 18, 2021
1 parent 84ed1ce commit 267f49a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# See instructions in CONTRIBUTING.md
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks

# Commitizen runs in commit-msg stage
# but we don't want to run the other hooks on commit messages
default_stages: [commit]

repos:
# Locally-authored hooks for better hermeticity
- repo: local
Expand Down

1 comment on commit 267f49a

@f0rmiga
Copy link
Contributor

@f0rmiga f0rmiga commented on 267f49a Sep 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit to main without review?
I don't think this is the correct fix. See my proposed fix on #30.

Please sign in to comment.