We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf2a6ae commit f980cccCopy full SHA for f980ccc
.pre-commit-config.yaml
@@ -0,0 +1,19 @@
1
+repos:
2
+ - repo: local
3
+ hooks:
4
+ - id: swiftformat
5
+ name: Swift Format
6
+ description: Enforces formatting guidelines for Swift files before committing.
7
+ language: system
8
+ entry: swiftformat --swiftversion 5
9
+ stages:
10
+ - pre-commit
11
+
12
+ - id: swiftlint
13
+ name: Swift Linter
14
+ description: Runs a linter before committing to ensure code quality.
15
16
+ always_run: true
17
+ entry: swiftlint lint --lenient --config .swiftlint.yml
18
19
0 commit comments