/ .editorconfig
.editorconfig
1 # This is the top-most EditorConfig file. 2 root = true 3 4 # For all files. 5 [*] 6 charset = utf-8 7 end_of_line = lf 8 indent_style = space 9 insert_final_newline = true 10 trim_trailing_whitespace = true 11 12 # Source code files 13 [*.{h,cpp,rs,py,sh}] 14 indent_size = 4 15 16 # .cirrus.yml, etc. 17 [*.yml] 18 indent_size = 2 19 20 # Makefiles (only relevant for depends build) 21 [Makefile] 22 indent_style = tab 23 24 # CMake files 25 [{CMakeLists.txt,*.cmake,*.cmake.in}] 26 indent_size = 2