You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
891 B

  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. indent_style = tab
  21. [Makefile]
  22. end_of_line = lf
  23. indent_style = tab
  24. [*.sh]
  25. end_of_line = lf
  26. # The gitattributes file will handle the line endings conversion properly according to the operating system settings for other files
  27. # We don't have gitattributes properly for these
  28. # So if the user have for example core.autocrlf set to true
  29. # the line endings would be wrong.
  30. [lib/**]
  31. end_of_line = unset