.editorconfig 660 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # http://editorconfig.org
  2. # Consistent coding style across different editors.
  3. # Top-most file
  4. root = true
  5. # Global styles:
  6. # - indent 2 spaces
  7. # - add final new line
  8. # - trim trailing whitespace
  9. [*]
  10. charset = utf-8
  11. end_of_line = lf
  12. indent_size = 2
  13. indent_style = space
  14. insert_final_newline = true
  15. trim_trailing_whitespace = true
  16. # BUILD:
  17. # - indent 4 spaces
  18. [BUILD]
  19. indent_size = 4
  20. # Makefile:
  21. # - indent 1 tab
  22. [Makefile]
  23. indent_size = tab
  24. indent_style = tab
  25. # Markdown:
  26. # - indent 4 spaces
  27. # - trailing whitespace is significant
  28. [*.md]
  29. indent_size = 4
  30. trim_trailing_whitespace = false
  31. # Python
  32. # - indent 4 spaces
  33. [*.py]
  34. indent_size = 4