.editorconfig 604 B

12345678910111213141516171819202122232425262728293031
  1. # Configuration file for EditorConfig, see https://EditorConfig.org
  2. # Ignore any other files further up in the file system
  3. root = true
  4. # All files:
  5. [*]
  6. # Let git determine line ending: end_of_line = lf
  7. charset = utf-8
  8. indent_size = 4
  9. indent_style = space
  10. insert_final_newline = true
  11. trim_trailing_whitespace = true
  12. # Markdown files: keep trailing space-pair as line-break
  13. [*.md]
  14. trim_trailing_whitespace = false
  15. # Python scripts:
  16. [*.py]
  17. # YAML scripts:
  18. [*.yml]
  19. indent_size = 2
  20. # Makefiles: Tab indentation (no size specified)
  21. [Makefile]
  22. indent_style = tab
  23. # C, C++ source files:
  24. [*.{h,hpp,c,cpp}]