Add project files
This commit is contained in:
commit
f2fe6b8855
114 files changed
+20525
No files matched your search
@@ -0,0 +1,34 @@
|
||||
# .editorconfig
|
||||
# Baseline whitespace/indentation rules for editors that don't run
|
||||
# clang-format live (or before it runs). See .clang-format for the
|
||||
# authoritative, full formatting rules from the style guide.
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
# Windows scripts are CRLF (see .gitattributes). Without this, the global
|
||||
# end_of_line = lf above would have editors rewrite them as LF.
|
||||
[*.{bat,cmd,ps1}]
|
||||
end_of_line = crlf
|
||||
|
||||
# Style guide §2 / §15 — tabs everywhere, C++ and C API alike.
|
||||
[*.{c,h,cpp,hpp,cc,cxx,tpp}]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
tab_width = 4
|
||||
max_line_length = 100
|
||||
|
||||
# Config/build files typically use spaces by convention — not covered by the
|
||||
# C/C++ style guide, kept here only so this file has a sane fallback for
|
||||
# CMakeLists.txt, YAML, etc. in the same repo.
|
||||
[*.{yml,yaml,cmake,json}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[CMakeLists.txt]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
Reference in new issue
Block a user