File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -280,9 +280,14 @@ TODO: make a forums category?
280
280
281
281
Please make sure to run the ` ./scripts/sanity.sh ` script when contributing, it checks formatting and similar things.
282
282
283
- You can make ensure it always is run and passes before you push by installing a pre-push hook with git:
283
+ You can ensure it always is run and passes before you push by installing a pre-push hook with git:
284
284
285
- ```
285
+ ``` sh
286
286
echo ' ./scripts/sanity.sh' > .git/hooks/pre-push
287
287
```
288
288
289
+ ### Formatting
290
+
291
+ We use a specific version of [ ` nicklockwood/swiftformat ` ] ( https://github.com/nicklockwood/swiftformat ) .
292
+ Please take a look at our [ ` Dockerfile ` ] ( docker/Dockerfile ) to see which version is currently being used and install it
293
+ on your machine before running the script.
You can’t perform that action at this time.
0 commit comments