mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-04 22:40:05 +00:00
Add .editorconfig to enforce 4 space indent
Should be supported by most IDEs and text editors
This commit is contained in:
parent
5cf7225f52
commit
1af240fa34
23
.editorconfig
Normal file
23
.editorconfig
Normal file
@ -0,0 +1,23 @@
|
||||
# top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
# Unix-style newlines with a newline ending every file
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
|
||||
# 4 space indentation
|
||||
[*.cpp,*.hpp]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
# Tabs in makefile
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
|
||||
# Don't enforce anything in contrib
|
||||
[/src/contrib/**]
|
||||
end_of_line = unset
|
||||
insert_final_newline = unset
|
||||
indent_style = unset
|
||||
indent_style = unset
|
Loading…
Reference in New Issue
Block a user