.editorconfig 607 B

1234567891011121314151617181920212223242526272829303132
  1. root = true
  2. [*]
  3. indent_style = tab
  4. indent_size = tab
  5. tab_width = 4
  6. end_of_line = lf
  7. charset = utf-8
  8. trim_trailing_whitespace = true
  9. insert_final_newline = true
  10. # Ensure text editors don't turn leading spaces into tabs,
  11. # e.g. in multi-line bullet list items
  12. [*.md]
  13. indent_style = space
  14. indent_size = 2
  15. # Tabs may not be valid YAML
  16. # @see https://yaml.org/spec/1.2/spec.html#id2777534
  17. [*.{yml,yaml}]
  18. indent_style = space
  19. indent_size = 2
  20. [.git/**]
  21. indent_style = space
  22. indent_size = 2
  23. # Trailing whitespace is intended in parser test files
  24. # T278066
  25. [tests/parser/*.txt]
  26. trim_trailing_whitespace = false