editorconfig: Add rules for trim trailing whitespaces, CMake and ns3 script
This commit is contained in:
committed by
Tom Henderson
parent
da7e53148b
commit
158bf67696
@@ -13,6 +13,7 @@ root = true
|
||||
end_of_line = lf # Unix-style newlines
|
||||
charset = utf-8 # All files are in UTF-8
|
||||
insert_final_newline = true # All files end with a newline
|
||||
trim_trailing_whitespaces = true
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
@@ -22,6 +23,10 @@ tab_width = 4
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[ns3]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[wscript]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
@@ -29,3 +34,7 @@ indent_size = 4
|
||||
[*.{cc,h}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[{CMakeLists.txt,*.cmake}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
Reference in New Issue
Block a user