.editorconfig 776 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # EditorConfig is awesome: http://EditorConfig.org
  2. # top-most EditorConfig file
  3. root = true
  4. [*]
  5. charset = utf-8
  6. end_of_line = lf
  7. indent_style = tab
  8. indent_size = 8
  9. trim_trailing_whitespace = true
  10. insert_final_newline = true
  11. [*.patch]
  12. trim_trailing_whitespace = false
  13. [*.md]
  14. indent_style = space
  15. indent_size = 4
  16. insert_final_newline = false
  17. [*.json]
  18. indent_style = space
  19. indent_size = 4
  20. # Custom Armbian formatting for bash sources and configuration
  21. [*.{sh,inc,conf,eos,wip,tvb,csc}]
  22. indent_size = 4
  23. shell_variant = bash
  24. binary_next_line = false
  25. switch_case_indent = true
  26. space_redirects = true
  27. keep_padding = false
  28. function_next_line = false
  29. [*.{yaml,yml}]
  30. indent_style = space
  31. indent_size = 2
  32. insert_final_newline = false
  33. [*.py]
  34. indent_size = 4
  35. max_line_length = 150