Changes to linter and autoformat workflow for development

- drop SwiftLint in favor of swift-format
- disable autoformatting in build phase (otherwise we loose history)
- add Git pre-commit hook to autoformat before committing
This commit is contained in:
Milan Stute
2021-03-11 09:44:08 +01:00
parent 0c9997993d
commit 3c84aae67d
5 changed files with 12 additions and 111 deletions

1
.pre-commit Executable file
View File

@@ -0,0 +1 @@
make app-autoformat