forked from scott/threaded_network_chat
add editorconfig and clang-format files
This commit is contained in:
19
formatting-configs/clang-format.json
Normal file
19
formatting-configs/clang-format.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"BasedOnStyle": "LLVM",
|
||||
"UseTab": "Always",
|
||||
"IndentWidth": 8,
|
||||
"TabWidth": 8,
|
||||
"LineEnding": "LF",
|
||||
"RemoveBracesLLVM": true,
|
||||
"AlwaysBreakAfterReturnType": "AllDefinitions",
|
||||
"BreakBeforeBraces": "Custom",
|
||||
"BraceWrapping": {
|
||||
"AfterFunction": true,
|
||||
"AfterClass": false,
|
||||
"AfterControlStatement": false,
|
||||
"AfterNamespace": false,
|
||||
"AfterStruct": false,
|
||||
"BeforeElse": false,
|
||||
"BeforeCatch": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user