.editorconfig 825 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # EditorConfig is awesome: 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. indent_style = space
  9. indent_size = 4
  10. insert_final_newline = true
  11. trim_trailing_whitespace = true
  12. # TS/JS-Files
  13. [*.{ts,js}]
  14. indent_size = 2
  15. # HTML-Files
  16. [*.html]
  17. indent_size = 2
  18. # JSON-Files
  19. [*.json]
  20. indent_style = tab
  21. # ReST-Files
  22. [*.rst]
  23. indent_size = 4
  24. max_line_length = 80
  25. # YAML-Files
  26. [*.{yaml,yml}]
  27. indent_size = 2
  28. # NEON-Files
  29. [*.neon]
  30. indent_size = 2
  31. indent_style = tab
  32. # package.json
  33. [package.json]
  34. indent_size = 2
  35. # TypoScript
  36. [*.{typoscript,tsconfig}]
  37. indent_size = 2
  38. # XLF-Files
  39. [*.xlf]
  40. indent_style = tab
  41. # SQL-Files
  42. [*.sql]
  43. indent_style = tab
  44. indent_size = 2
  45. # .htaccess
  46. [{_.htaccess,.htaccess}]
  47. indent_style = tab