From 714dae08f66aa388679e3cf0b080dcb4b11a6b85 Mon Sep 17 00:00:00 2001 From: michael-lesirge <100492377+michael-lesirge@users.noreply.github.com> Date: Wed, 11 Sep 2024 16:00:56 -0700 Subject: [PATCH] Revert "Add clang-format for people who like it" This reverts commit 75cc81bc925e5cb4c0efd519a5ec2dcd92c8af68. --- .clang-format | 63 -------------------------------------------- .clang-format-ignore | 15 ----------- 2 files changed, 78 deletions(-) delete mode 100644 .clang-format delete mode 100644 .clang-format-ignore diff --git a/.clang-format b/.clang-format deleted file mode 100644 index 165f193..0000000 --- a/.clang-format +++ /dev/null @@ -1,63 +0,0 @@ ---- -Language: Java -AccessModifierOffset: -2 -AlignAfterOpenBracket: false -AlignConsecutiveAssignments: false -AlignConsecutiveDeclarations: false -AlignEscapedNewlines: Left -AlignOperands: true -AlignTrailingComments: true -AllowAllParametersOfDeclarationOnNextLine: true -AllowShortBlocksOnASingleLine: true -AllowShortCaseLabelsOnASingleLine: true -AllowShortFunctionsOnASingleLine: Empty -AllowShortIfStatementsOnASingleLine: WithoutElse -AllowShortLoopsOnASingleLine: true -AlwaysBreakAfterReturnType: None -AlwaysBreakBeforeMultilineStrings: false -BinPackArguments: true -BinPackParameters: true -BraceWrapping: - AfterClass: true - AfterControlStatement: true - AfterEnum: true - AfterFunction: true - BeforeCatch: true - BeforeElse: true - IndentBraces: false -BreakBeforeBinaryOperators: None -BreakBeforeBraces: Attach -BreakBeforeTernaryOperators: false -BreakConstructorInitializersBeforeComma: false -BreakConstructorInitializers: BeforeColon -BreakAfterJavaFieldAnnotations: true # Specific to Java -BreakStringLiterals: true -CommentPragmas: '' -ConstructorInitializerAllOnOneLineOrOnePerLine: true -ConstructorInitializerIndentWidth: 2 -ContinuationIndentWidth: 4 -DisableFormat: false -ExperimentalAutoDetectBinPacking: false -IndentCaseLabels: true -IndentWidth: 4 -IndentWrappedFunctionNames: false -KeepEmptyLinesAtTheStartOfBlocks: true -MaxEmptyLinesToKeep: 3 -PenaltyBreakAssignment: 2 -PenaltyBreakBeforeFirstCallParameter: 19 -PenaltyBreakComment: 300 -PenaltyBreakFirstLessLess: 120 -PenaltyBreakString: 1000 -PenaltyExcessCharacter: 1000000 -PenaltyReturnTypeOnItsOwnLine: 60 -ReflowComments: true -SortIncludes: false # Java handles imports automatically -SpaceBeforeAssignmentOperators: true -SpaceBeforeParens: false -SpaceInEmptyParentheses: false -SpacesBeforeTrailingComments: 0 -SpacesInContainerLiterals: true -SpacesInParentheses: false -SpacesInSquareBrackets: false -TabWidth: 4 -UseTab: Always diff --git a/.clang-format-ignore b/.clang-format-ignore deleted file mode 100644 index 4a91448..0000000 --- a/.clang-format-ignore +++ /dev/null @@ -1,15 +0,0 @@ -build -AdvantageScopeAssets -gradle -.pathplanner -.vscode -.wpilib -.github -.gradle -*.md -*.chor -gradlew* -*.json -*.gradle -.gitignore -vendordeps \ No newline at end of file