.editorconfig 839 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
  2. # editorconfig.org
  3. root = true
  4. [*]
  5. indent_style = space
  6. indent_size = 4
  7. # We recommend you to keep these unchanged
  8. charset = utf-8
  9. trim_trailing_whitespace = true
  10. insert_final_newline = true
  11. [*.md]
  12. trim_trailing_whitespace = false
  13. indent_size = 4
  14. # Make these match what we have in .gitattributes
  15. [*.mk]
  16. end_of_line = lf
  17. indent_style = tab
  18. [Makefile]
  19. end_of_line = lf
  20. indent_style = tab
  21. [*.sh]
  22. end_of_line = lf
  23. # The gitattributes file will handle the line endings conversion properly according to the operating system settings for other files
  24. # We don't have gitattributes properly for these
  25. # So if the user have for example core.autocrlf set to true
  26. # the line endings would be wrong.
  27. [lib/**]
  28. end_of_line = unset