diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-10-14 09:54:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-14 09:54:43 (GMT) |
commit | 9a051790ad6089860ec16d82da6004fb89bbe8a7 (patch) | |
tree | 2cc11ccd0d9d0b98062404c6dc20db4fe7260c43 | |
parent | 3b960442485b965d853205bddeaa7f6a6b03253e (diff) | |
parent | 0bd0aaa186efeaac815befc4ae32af6b1da74244 (diff) | |
download | monitoring-plugins-9a051790ad6089860ec16d82da6004fb89bbe8a7.tar.gz |
Merge pull request #2026 from RincewindsHat/clang-format-config
Add clang-format config file
-rw-r--r-- | .clang-format | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..c7f0b5e --- /dev/null +++ b/.clang-format | |||
@@ -0,0 +1,10 @@ | |||
1 | BasedOnStyle: LLVM | ||
2 | UseTab: ForContinuationAndIndentation | ||
3 | IndentWidth: 4 | ||
4 | TabWidth: 4 | ||
5 | AllowShortIfStatementsOnASingleLine: false | ||
6 | BreakBeforeBraces: Attach | ||
7 | AlignConsecutiveMacros: true | ||
8 | ColumnLimit: 180 | ||
9 | IndentPPDirectives: AfterHash | ||
10 | SortIncludes: Never | ||