.editorconfig 652 B

12345678910111213141516171819202122232425262728
  1. # EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs.
  2. # Atom: Please assure your Atom's config setting Tab Type is set to auto, otherwise Atom-EditorConfig may not work as expected. Also disable whitespace package.
  3. # http://editorconfig.org/
  4. root = true
  5. [*]
  6. charset = utf-8
  7. indent_style = tab
  8. indent_size = 4
  9. trim_trailing_whitespace = true
  10. end_of_line = lf
  11. insert_final_newline = true
  12. # YAML Files
  13. [*.{yml,yaml}]
  14. indent_size = 2
  15. indent_style = space
  16. # JSON Files
  17. [*.{json,json5,webmanifest}]
  18. indent_size = 2
  19. indent_style = space
  20. # BASH Files
  21. [*.{.sh}]
  22. indent_style = tab
  23. indent_size = 4