diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..67037c8 --- /dev/null +++ b/.clang-format @@ -0,0 +1,35 @@ +# +# clang format +# +# Copyright (c) 2023 Okawa Yusuke +# +# key reference: https://clang.llvm.org/docs/ClangFormatStyleOptions.html +# + +UseTab: Never +IndentWidth: 4 +ConstructorInitializerIndentWidth: 4 +ContinuationIndentWidth: 4 +TabWidth: 4 +SpacesBeforeTrailingComments: 4 +BinPackParameters: true +AlignConsecutiveAssignments: true +AlignConsecutiveDeclarations: true +AlignEscapedNewlinesLeft: true +BreakBeforeBraces: Allman +AllowShortIfStatementsOnASingleLine: false +IndentCaseLabels: false +ColumnLimit: 0 +AccessModifierOffset: -4 +NamespaceIndentation: All +FixNamespaceComments: true +AllowShortLambdasOnASingleLine: Inline +BreakInheritanceList: BeforeComma +Cpp11BracedListStyle: false +AllowShortCaseLabelsOnASingleLine: true +SortIncludes: false +PPIndentWidth: 4 +BreakConstructorInitializers: BeforeComma +PointerAlignment: Left +ReferenceAlignment: Left +IndentPPDirectives: AfterHash diff --git a/app/index.html b/app/index.html index 9fa606b..3bf17d5 100644 --- a/app/index.html +++ b/app/index.html @@ -14,7 +14,9 @@
+