From 158bf676966bfe7b7362acddf3792e428ebde989 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Sat, 11 Dec 2021 18:52:57 +0000 Subject: [PATCH] editorconfig: Add rules for trim trailing whitespaces, CMake and ns3 script --- .editorconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.editorconfig b/.editorconfig index e785c54ab..0406189ba 100644 --- a/.editorconfig +++ b/.editorconfig @@ -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