2
0

.editorconfig 530 B

12345678910111213141516171819202122232425262728293031
  1. root = true
  2. [*]
  3. end_of_line = lf
  4. insert_final_newline = true
  5. trim_trailing_whitespace = true
  6. indent_style = space
  7. [Makefile]
  8. indent_style = tab
  9. [*.py]
  10. charset = utf-8
  11. indent_size = 4
  12. max_line_length = 88
  13. [*.js]
  14. charset = utf-8
  15. [*.{html,rst,md}]
  16. indent_size = 4
  17. [*.{js,ts,tsx,json,yml,yaml,css,scss}]
  18. indent_size = 2
  19. [*.md]
  20. trim_trailing_whitespace = false
  21. # Make sure this file _doesn’t_ end with a final newline. It breaks rendering.
  22. [wagtail/admin/templates/wagtailadmin/shared/icon.html]
  23. insert_final_newline = false