diff options
author | Mango0x45 <thomasvoss@live.com> | 2021-02-03 18:01:11 +0100 |
---|---|---|
committer | Mango0x45 <thomasvoss@live.com> | 2021-02-03 18:01:11 +0100 |
commit | 83285d8fce40a6df4a4d35ee54409b88a1848340 (patch) | |
tree | 837158edf13785eb5f0a2e1ae15a0df3a88fad60 /.clang-format | |
parent | ee767fc3b2c7d00c50282317b6200fcbc1b92652 (diff) |
Clean up code
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..f7f31ac --- /dev/null +++ b/.clang-format @@ -0,0 +1,44 @@ +Language: JavaScript + +AlignAfterOpenBracket: DontAlign +AlignConsecutiveAssignments: false +AlignConsecutiveDeclarations: false +AlignOperands: Align +AlignTrailingComments: true +AllowShortBlocksOnASingleLine: Empty +AllowShortCaseLabelsOnASingleLine: false +AllowShortFunctionsOnASingleLine: Empty +AllowShortIfStatementsOnASingleLine: Never +AllowShortLoopsOnASingleLine: false +BinPackArguments: true +BinPackParameters: true +BreakBeforeBinaryOperators: NonAssignment +BreakBeforeBraces: Attach +BreakBeforeTernaryOperators: true +ColumnLimit: 100 +ContinuationIndentWidth: 4 +DeriveLineEnding: true +IndentCaseBlocks: false +IndentCaseLabels: false +IndentWidth: 4 +InsertTrailingCommas: None +JavaScriptQuotes: Double +JavaScriptWrapImports: true +KeepEmptyLinesAtTheStartOfBlocks: false +MaxEmptyLinesToKeep: 2 +ReflowComments: true +SpaceAfterLogicalNot: false +SpaceBeforeAssignmentOperators: true +SpaceBeforeParens: ControlStatements +SpaceBeforeSquareBrackets: false +SpaceInEmptyBlock: false +SpaceInEmptyParentheses: false +SpacesBeforeTrailingComments: 1 +SpacesInAngles: false +SpacesInConditionalStatement: false +SpacesInContainerLiterals: false +SpacesInParentheses: false +SpacesInSquareBrackets: false +TabWidth: 4 +UseCRLF: false +UseTab: Never
\ No newline at end of file |