Fix the newline problem in editorconfig

With current editor config, if you have trailing whitespace on final new line, it doesn't get trimmed, and no extra newline gets added, which breaks linters.

Whitespace trimming is good overall. And an additional "utf-8" enforcement.

Webedit kung-fu.
This commit is contained in:
Aleksej Komarov
2019-11-26 14:43:11 +02:00
committed by GitHub
parent 6b18ad22be
commit d41705273c

View File

@@ -1,7 +1,9 @@
[*] [*]
insert_final_newline = true
indent_style = tab indent_style = tab
indent_size = 4 indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.yml] [*.yml]
indent_style = space indent_style = space