From 767e8283324f74985e9d95aeb6da3b94efc6db31 Mon Sep 17 00:00:00 2001 From: Rune Harlyk Date: Tue, 9 Jul 2024 19:41:08 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=AE=20Adds=20clang=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- esp32/.clang-format | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 esp32/.clang-format diff --git a/esp32/.clang-format b/esp32/.clang-format new file mode 100644 index 0000000..7cb111b --- /dev/null +++ b/esp32/.clang-format @@ -0,0 +1,16 @@ +BasedOnStyle: Google +TabWidth: 4 +IndentWidth: 4 +UseTab: Never +ColumnLimit: 120 +PointerAlignment: Left +SpaceBeforeParens: ControlStatements +AllowShortCaseLabelsOnASingleLine: true +AllowShortIfStatementsOnASingleLine: true +ConstructorInitializerAllOnOneLineOrOnePerLine: true +AllowShortLoopsOnASingleLine: true +SpacesBeforeTrailingComments: 1 +SortIncludes: false +SpaceBeforeAssignmentOperators: true +SpaceBeforeCpp11BracedList: true +AccessModifierOffset: -2 \ No newline at end of file