Add clang-format file

People should run `make format` before doing a commit.
Fix https://github.com/profanity-im/profanity/issues/1396
This commit is contained in:
Michael Vetter
2020-07-07 09:42:00 +02:00
parent 87ddb8081e
commit 66f9a6b721
3 changed files with 48 additions and 0 deletions

View File

@@ -3,6 +3,11 @@
## Coding style
Follow the style already present ;-)
To make this easier for you we created a `.clang-format` file.
You'll need to have `clang-format` installed.
Then just run `make format` before you do any commit.
## Pull Requests
Before submitting a Pull Request please run valgrind and the clang static code analyzer.