Add .editorconfig (#810)

More information: http://editorconfig.org/
pull/819/merge
Ebrahim Byagowi 7 years ago committed by GitHub
parent eada749e46
commit edee28801e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      .editorconfig

@ -0,0 +1,18 @@
root = true
[*]
charset = utf-8
trim_trailing_whitespace = true
end_of_line = lf
insert_final_newline = true
[*.{c,cc,h,hh}]
indent_size = 2
indent_style = space
tab_width = 8
[*.{py,sh}]
indent_style = tab
[{CMakeLists.txt,*.cmake}]
indent_size = 2
Loading…
Cancel
Save