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