build(format): 加入 clang-format 配置
This commit is contained in:
1 parent
ef128e6776
commit
7723c5d83a
6 files changed
+77
No files matched your search
@@ -0,0 +1,11 @@
|
||||
---
|
||||
# 基座:Google C++ Style Guide;仅覆盖团队约定的两项(4 空格 / 100 列)
|
||||
# clang-format 没有独立的 C 语言段,.c/.h 统一按 Language: Cpp 处理
|
||||
Language: Cpp
|
||||
BasedOnStyle: Google
|
||||
|
||||
IndentWidth: 4
|
||||
TabWidth: 4
|
||||
ColumnLimit: 100
|
||||
|
||||
# 只格式化自写代码:Core/、Drivers/、Middlewares/ 下各有一个 DisableFormat 版本
|
||||
Reference in new issue
Block a user