1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-05-07 22:06:42 +08:00
CMake/.editorconfig
Daan De Meyer 8c14c6bd0b Add .editorconfig file
A .editorconfig file allows many editors (e.g. Visual Studio Code)
to autoconfigure themselves based on its contents. This avoids
some formatting issues in PRs because editors will do the right
thing by default with a .editorconfig file available in the repo.
2020-12-21 21:13:58 +01:00

11 lines
164 B
INI

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