Skip to content

Commit 0c05520

Browse files
authored
Merge pull request #712 from danthorpe/danthorpe/add_pre_commit_hooks
feat: add pre-commit hooks
2 parents 637cb85 + 5e4caa8 commit 0c05520

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.pre-commit-hooks.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
- id: swift-format
2+
name: swift-format
3+
entry: swift-format format --in-place --recursive --parallel
4+
language: swift
5+
types: [swift]
6+
require_serial: true

0 commit comments

Comments
 (0)