mirror of
https://github.com/Kitware/CMake.git
synced 2025-05-07 22:06:42 +08:00

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.
11 lines
164 B
INI
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
|