Skip to content

Commit

Permalink
chore: add pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
d-strobel committed Nov 12, 2024
1 parent fa05dfe commit 48d66be
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
default_install_hook_types: [pre-commit, commit-msg]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.16.0
hooks:
- id: commitlint
additional_dependencies: ["@commitlint/config-conventional"]
stages: ["commit-msg"]

0 comments on commit 48d66be

Please sign in to comment.