Skip to content

Commit

Permalink
build: update clang-format to v18
Browse files Browse the repository at this point in the history
  • Loading branch information
RedYetiDev committed Jul 20, 2024
1 parent 45ff44b commit 4e98639
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 314 deletions.
4 changes: 2 additions & 2 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ AlignEscapedNewlines: Right
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortBlocksOnASingleLine: Never
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: true
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
Expand Down
317 changes: 10 additions & 307 deletions tools/clang-format/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions tools/clang-format/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
"name": "node-core-clang-format",
"version": "1.0.0",
"description": "Formatting C++ files for Node.js core",
"license": "MIT",
"dependencies": {
"clang-format": "^1.8.0"
"node-core-clang-format": "^0.0.4"
}
}

0 comments on commit 4e98639

Please sign in to comment.