.editorconfig 603 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
# This is a configuration file describing some, but not all, of the formatting
# rules the SMTK project enforces via clang-format. See http://editorconfig.org/
# for information about how to get your favorite editor to use it automatically.

root = true

[*.{h,txx,cxx,c,sbt,xml,json,py,txt,md,cmake,rst,in}]
end-of-line = lf
insert_final_newline = true
trim_trailing_whitespace  = true

[*.{h,txx,cxx,c,sbt,xml,json,txt,md,cmake,rst}]
indent_style = space
14
indent_size = 2
15 16 17 18 19 20 21 22 23
max_line_length = 100

[*.{h,txx,cxx,c}]
indent_brace_style = Allman

[*.py]
charset = utf-8
indent_style = space
indent_size = 4