Skip to content

Commit da77ef1

Browse files
authored
Merge pull request #1483 from adam-moss/feat/pre-commit
feat: add pre-commit hook configuration
2 parents 2f2cd43 + 5f8db7d commit da77ef1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.pre-commit-hooks.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
- id: danger
2+
name: danger
3+
description: formalize your team etiquette
4+
language: node
5+
stages:
6+
- pre-commit
7+
entry: danger local
8+
args:
9+
- --base=main
10+
- --dangerfile=dangerfile.local.js
11+
- --staging
12+
pass_filenames: false
13+
always_run: true

0 commit comments

Comments
 (0)