Skip to content

Commit

Permalink
fix: add a conflict marker hook
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau authored Oct 6, 2023
1 parent 186a12a commit 2de78de
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions package/.pre-commit-config.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,12 @@ repos:
stages: [commit]
additional_dependencies:
- tomli

# Prevent committing inline conflict markers
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-merge-conflict
stages: [commit]
args: [--assume-in-merge]

0 comments on commit 2de78de

Please sign in to comment.