.editorconfig 629 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. [*.py]
  11. max_line_length = 119
  12. [*.html]
  13. indent_size = 4
  14. [*.js]
  15. indent_size = 2
  16. [*.json]
  17. indent_size = 4
  18. insert_final_newline = 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/**.rst]
  30. max_line_length = 79
  31. [*.yml]
  32. indent_size = 2