.editorconfig 853 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. [{qmk,*.py}]
  15. charset = utf-8
  16. max_line_length = 200
  17. # Make these match what we have in .gitattributes
  18. [*.mk]
  19. end_of_line = lf
  20. [Makefile]
  21. end_of_line = lf
  22. [*.sh]
  23. end_of_line = lf
  24. # The gitattributes file will handle the line endings conversion properly according to the operating system settings for other files
  25. # We don't have gitattributes properly for these
  26. # So if the user have for example core.autocrlf set to true
  27. # the line endings would be wrong.
  28. [lib/**]
  29. end_of_line = unset