chore: add C code linting & formatting

This commit is contained in:
Jef Roosens 2023-01-15 18:01:26 +01:00
parent 7ec0c96f5f
commit 6d1b4aadb6
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
6 changed files with 84 additions and 48 deletions

4
.clang-format Normal file
View file

@ -0,0 +1,4 @@
# To stay consistent with the V formatting style, we use tabs
UseTab: Always
IndentWidth: 4
TabWidth: 4