mirror of
https://github.com/apisnetworks/pyenv.git
synced 2026-11-30 19:59:01 +00:00
editorconfig: add directives for whitespace issues
This commit is contained in:
1 parent
32c297e66c
commit
9153118dd0
1 file changed
+9
@@ -4,8 +4,17 @@ root = true
|
||||
[*]
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
# Makefiles always use tabs for indentation
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
indent_size = unset # Allow user-defined tab width
|
||||
|
||||
# Keep in sync with CHECK_WHITESPACE_EXCLUDE in Makefile.
|
||||
[*.{patch,diff,md}]
|
||||
trim_trailing_whitespace = false
|
||||
# `false` here actually means "ensure no newline",
|
||||
# while `unset` means "leave it as-is".
|
||||
insert_final_newline = unset
|
||||
Reference in new issue
Block a user