Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c8b7a64

Browse filesBrowse 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
Copy full SHA for c8b7a64

File tree

Expand file treeCollapse file tree

3 files changed

+311
-15
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

3 files changed

+311
-15
lines changed
Open diff view settings
Collapse file

‎.clang-format‎

Copy file name to clipboardExpand all lines: .clang-format
+2-2Lines 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
Collapse file

‎tools/clang-format/package-lock.json‎

Copy file name to clipboardExpand all lines: tools/clang-format/package-lock.json
+305-12Lines changed: 305 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎tools/clang-format/package.json‎

Copy file name to clipboard
+4-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.