.editorconfig 680 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. [*.css]
  15. indent_size = 2
  16. [*.less]
  17. indent_size = 2
  18. [*.js]
  19. indent_size = 2
  20. [*.json]
  21. indent_size = 2
  22. insert_final_newline = ignore
  23. # Minified JavaScript files shouldn't be changed
  24. [**.min.js]
  25. indent_style = ignore
  26. insert_final_newline = ignore
  27. # Makefiles always use tabs for indentation
  28. [Makefile]
  29. indent_style = tab
  30. # Batch files use tabs for indentation
  31. [*.bat]
  32. indent_style = tab
  33. [docs/**.rst]
  34. max_line_length = 79
  35. [*.yml]
  36. indent_size = 2