mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 10:01:40 +00:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user