wiki.techinc.nl/.editorconfig
thiemowmde f18861eec8 Fix .editorconfig for tests/parser/ directory
My IDE (PHPStorm) started messing the files in this directory up
because the rule in .editorconfig doesn't match. The tests directory
is directly in the root where the .editorconfig file also lives.
There is no directory before `tests/` that would satisfy the `**/`
pattern.

Bug: T278066
Change-Id: Ie6d9c71f169a259475e3f3eae2674d6994e2f264
2024-02-27 17:35:16 +01:00

31 lines
607 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