.editorconfig 713 B

1234567891011121314151617181920212223242526272829303132333435
  1. # http://editorconfig.org
  2. # top-most EditorConfig file
  3. root = true
  4. # Unix-style newlines with a newline ending every file
  5. [*]
  6. charset = utf-8
  7. end_of_line = lf
  8. insert_final_newline = true
  9. trim_trailing_whitespace = true
  10. # Indentation override for js(x), ts(x) and vue files
  11. [*.{js,jsx,ts,tsx,vue}]
  12. indent_size = 4
  13. indent_style = space
  14. # Indentation override for css related files
  15. [*.{css,styl,scss,less,sass}]
  16. indent_size = 4
  17. indent_style = space
  18. # Indentation override for html files
  19. [*.html]
  20. indent_size = 4
  21. indent_style = space
  22. # Trailing space override for markdown file
  23. [*.md]
  24. trim_trailing_whitespace = false
  25. # Indentation override for config files
  26. [*.{json,yml}]
  27. indent_size = 4
  28. indent_style = space