Skip to content

Commit 61d9934

Browse files
authored
chore: setup pre-commit (bazel-contrib#181)
otherwise I keep wasting time on red PRs that fail on the prettier-check step
1 parent 6f1e372 commit 61d9934

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# https://pre-commit.com/
2+
# Runs prettier on changed files as part of git commit
3+
4+
repos:
5+
- repo: https://github.com/pre-commit/mirrors-prettier
6+
rev: v3.0.0
7+
hooks:
8+
- id: prettier

0 commit comments

Comments
 (0)