Merge topic 'editorconfig'

8c14c6bd0b Add .editorconfig file

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Michael Hirsch, Ph.D. <michael@scivision.dev>
Merge-request: !5629
This commit is contained in:
Brad King
2020-12-23 14:37:48 +00:00
committed by Kitware Robot
2 changed files with 11 additions and 0 deletions

10
.editorconfig Normal file
View File

@@ -0,0 +1,10 @@
root = true
[*]
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true
[{CMakeLists.txt,*.cmake,*.rst}]
indent_size = 2
indent_style = space

1
.gitattributes vendored
View File

@@ -1,5 +1,6 @@
.git* export-ignore
.hooks* export-ignore
.editorconfig export-ignore
# Custom attribute to mark sources as using our C code style.
[attr]our-c-style whitespace=tab-in-indent format.clang-format-6.0