Skip to content

Commit c8b7a64

Browse files
legendecastargos
authored andcommitted
Revert "build: upgrade clang-format to v18"
This reverts commit c3e1c31. PR-URL: #54994 Refs: #53957 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
1 parent 9b78345 commit c8b7a64

File tree

3 files changed

+311
-15
lines changed

3 files changed

+311
-15
lines changed

.clang-format

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ AlignEscapedNewlines: Right
99
AlignOperands: true
1010
AlignTrailingComments: true
1111
AllowAllParametersOfDeclarationOnNextLine: true
12-
AllowShortBlocksOnASingleLine: Never
12+
AllowShortBlocksOnASingleLine: false
1313
AllowShortCaseLabelsOnASingleLine: false
1414
AllowShortFunctionsOnASingleLine: Inline
1515
AllowShortIfStatementsOnASingleLine: true
16-
AllowShortLoopsOnASingleLine: false
16+
AllowShortLoopsOnASingleLine: true
1717
AlwaysBreakAfterDefinitionReturnType: None
1818
AlwaysBreakAfterReturnType: None
1919
AlwaysBreakBeforeMultilineStrings: false

tools/clang-format/package-lock.json

Lines changed: 305 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/clang-format/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
2+
"name": "node-core-clang-format",
3+
"version": "1.0.0",
24
"description": "Formatting C++ files for Node.js core",
5+
"license": "MIT",
36
"dependencies": {
4-
"@wasm-fmt/clang-format": "^18.1.8"
7+
"clang-format": "^1.8.0"
58
}
69
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy