forked from mpv-player/mpv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workflows/lint: add clang-format on changed files
The entire codebase is not ready to be clang-formatted and probably never will be, but we can at least check if the changes in new pull requests follow our coding style.
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
BasedOnStyle: Google | ||
BreakBeforeBraces: Linux | ||
IndentWidth: 4 | ||
PPIndentWidth: 1 | ||
IndentPPDirectives: AfterHash | ||
IndentCaseLabels: false | ||
IncludeBlocks: Preserve | ||
SortIncludes: true | ||
SpaceAfterCStyleCast: false | ||
AllowShortIfStatementsOnASingleLine : Never | ||
AllowShortLoopsOnASingleLine: false | ||
AllowShortFunctionsOnASingleLine: false | ||
AlignArrayOfStructures: Right | ||
AlignConsecutiveAssignments: true | ||
AllowAllParametersOfDeclarationOnNextLine: false | ||
Cpp11BracedListStyle: true | ||
InsertNewlineAtEOF: true | ||
SpacesInContainerLiterals: false | ||
BinPackArguments: true | ||
BinPackParameters: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters