Skip to content

Commit c097787

Browse files
committed
feat: add pre-commit hooks
set require_serial true
1 parent 3ca1a18 commit c097787

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.pre-commit-hooks.yaml

Lines changed: 6 additions & 0 deletions
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)