Skip to content

Commit

Permalink
feat: add pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
danthorpe committed Oct 29, 2024
1 parent 3ca1a18 commit a45febf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- id: swift-format
name: swift-format
entry: swift-format format --in-place --recursive --parallel
language: swift
types: [swift]
require_serial: true

Check failure on line 7 in .pre-commit-hooks.yaml

View workflow job for this annotation

GitHub Actions / Soundness / YAML lint check

7:3 [new-line-at-end-of-file] no new line character at the end of file

Check failure on line 7 in .pre-commit-hooks.yaml

View workflow job for this annotation

GitHub Actions / Soundness / YAML lint check

7:1 [trailing-spaces] trailing spaces

0 comments on commit a45febf

Please sign in to comment.