wiki.techinc.nl/.editorconfig
BrandonXLF 69cd7d01ad
Set .editorconfig to not trim lines in parser tests
Text files that contain parser tests are intended to have whitespace
at the end of some lines to properly test parser output, so this
whitespace should not be trimmed by .editorconfig.

Bug: T278066
Change-Id: I9b4b690e55aaa40e99f335922d131efd053cdd1f
2023-04-30 01:06:11 -04:00

31 lines
610 B
INI

root = true
[*]
indent_style = tab
indent_size = tab
tab_width = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# Ensure text editors don't turn leading spaces into tabs,
# e.g. in multi-line bullet list items
[*.md]
indent_style = space
indent_size = 2
# Tabs may not be valid YAML
# @see https://yaml.org/spec/1.2/spec.html#id2777534
[*.{yml,yaml}]
indent_style = space
indent_size = 2
[.git/**]
indent_style = space
indent_size = 2
# Trailing whitespace is intended in parser test files
# T278066
[**/tests/parser/*.txt]
trim_trailing_whitespace = false