We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55b9ff4 commit 76d8392Copy full SHA for 76d8392
.clang-format
@@ -0,0 +1,7 @@
1
+BasedOnStyle: Google
2
+IndentWidth: 4
3
+BreakBeforeBraces: Linux
4
+AllowShortBlocksOnASingleLine: false
5
+AllowShortFunctionsOnASingleLine: false
6
+AllowShortIfStatementsOnASingleLine: false
7
+AllowShortLoopsOnASingleLine: false
Makefile
@@ -25,4 +25,7 @@ check: $(TESTS)
25
clean:
26
rm -f $(LIB) $(OBJ) $(TESTS) $(TEST_OBJ)
27
28
-.PHONY: check clean
+format:
29
+ clang-format -i */*.{c,h}
30
+
31
+.PHONY: check clean format
0 commit comments