| 1 |
# See http://editorconfig.org to read about the EditorConfig format. |
| 2 |
# - In theory automatically supported by VS2017+ and most common IDE or text editors. |
| 3 |
# - In practice VS2019-VS2022 stills don't trim trailing whitespaces correctly :( |
| 4 |
# - Suggest installing this to trim whitespaces: |
| 5 |
# GitHub https://github.com/madskristensen/TrailingWhitespace |
| 6 |
# VS2019 https://marketplace.visualstudio.com/items?itemName=MadsKristensen.TrailingWhitespaceVisualizer |
| 7 |
# VS2022 https://marketplace.visualstudio.com/items?itemName=MadsKristensen.TrailingWhitespace64 |
| 8 |
# (in spite of its name doesn't only visualize but also trims) |
| 9 |
# - Alternative for older VS2010 to VS2015: https://marketplace.visualstudio.com/items?itemName=EditorConfigTeam.EditorConfig |
| 10 |
|
| 11 |
# top-most EditorConfig file |
| 12 |
root = true |
| 13 |
|
| 14 |
# Default settings: |
| 15 |
# Use 4 spaces as indentation |
| 16 |
[*] |
| 17 |
indent_style = space |
| 18 |
indent_size = 4 |
| 19 |
insert_final_newline = true |
| 20 |
trim_trailing_whitespace = true |
| 21 |
|
| 22 |
[imstb_*] |
| 23 |
indent_size = 3 |
| 24 |
trim_trailing_whitespace = false |
| 25 |
|
| 26 |
[Makefile] |
| 27 |
indent_style = tab |
| 28 |
indent_size = 4 |