GeezerVison is showing github.com — build: upgrade clang-format to v18 · nodejs/node@d285fc1
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .clang-format +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -9,11 +9,11 @@ AlignEscapedNewlines: Right |
9 | 9 | AlignOperands: true |
10 | 10 | AlignTrailingComments: true |
11 | 11 | AllowAllParametersOfDeclarationOnNextLine: true |
12 | | -AllowShortBlocksOnASingleLine: false |
| 12 | +AllowShortBlocksOnASingleLine: Never |
13 | 13 | AllowShortCaseLabelsOnASingleLine: false |
14 | 14 | AllowShortFunctionsOnASingleLine: Inline |
15 | 15 | AllowShortIfStatementsOnASingleLine: true |
16 | | -AllowShortLoopsOnASingleLine: true |
| 16 | +AllowShortLoopsOnASingleLine: false |
17 | 17 | AlwaysBreakAfterDefinitionReturnType: None |
18 | 18 | AlwaysBreakAfterReturnType: None |
19 | 19 | AlwaysBreakBeforeMultilineStrings: false |
|
Collapse file
Copy file name to clipboardExpand all lines: tools/clang-format/package-lock.json +12-305Lines changed: 12 additions & 305 deletions Collapse file
Copy file name to clipboard +1-4Lines changed: 1 addition & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | { |
2 | | - "name": "node-core-clang-format", |
3 | | - "version": "1.0.0", |
4 | 2 | "description": "Formatting C++ files for Node.js core", |
5 | | - "license": "MIT", |
6 | 3 | "dependencies": { |
7 | | - "clang-format": "^1.8.0" |
| 4 | + "@wasm-fmt/clang-format": "^18.1.8" |
8 | 5 | } |
9 | 6 | } |