File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 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?
280280
281281Please make sure to run the ` ./scripts/sanity.sh ` script when contributing, it checks formatting and similar things.
282282
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:
284284
285- ```
285+ ``` sh
286286echo ' ./scripts/sanity.sh' > .git/hooks/pre-push
287287```
288288
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