.editorconfig 701 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # https://editorconfig.org/
  2. root = true
  3. [*]
  4. indent_style = space
  5. indent_size = 4
  6. insert_final_newline = true
  7. trim_trailing_whitespace = true
  8. end_of_line = lf
  9. charset = utf-8
  10. # Docstrings and comments use max_line_length = 79
  11. [*.py]
  12. max_line_length = 88
  13. # Use 2 spaces for the HTML files
  14. [*.html]
  15. indent_size = 2
  16. [**/admin/js/vendor/**]
  17. indent_style = ignore
  18. indent_size = ignore
  19. # Minified JavaScript files shouldn't be changed
  20. [**.min.js]
  21. indent_style = ignore
  22. insert_final_newline = ignore
  23. # Makefiles always use tabs for indentation
  24. [Makefile]
  25. indent_style = tab
  26. # Batch files use tabs for indentation
  27. [*.bat]
  28. indent_style = tab
  29. [docs/**.txt]
  30. max_line_length = 79
  31. [*.yml]
  32. indent_size = 2