0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-09-22 03:51:29 +00:00
termux-packages/.editorconfig
agnostic-apollo 08e33a6ecb
fix(.editorconfig): do not trim trailing whitespaces in markdown files and use 4 space indents
Two or more trailing spaces are used in markdown (like in nested indented lists) to preserve line breaks and prevent lines from joining together at render time.

https://spec.commonmark.org/0.28/#hard-line-breaks
2024-09-11 05:04:29 +05:00

40 lines
542 B
INI

[*]
trim_trailing_whitespace = true
[*.{patch,.diff,.patch.*}]
trim_trailing_whitespace = false
[*.sh]
indent_style = tab
[*.py]
indent_style = space
indent_size = 4
[repo.json]
indent_style = space
indent_size = 2
[Dockerfile]
indent_style = tab
[scripts/profile.json]
indent_style = space
indent_size = 4
[*.md]
trim_trailing_whitespace = false
indent_style = space
indent_size = 4
[*.{yml,yaml}]
indent_style = space
indent_size = 2
[ndk-patches/*.h]
indent_style = tab
[scripts/utils/**.sh]
indent_style = space
indent_size = 4