mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-21 19:20:40 +00:00
align editorconfig with rustfmt (#4600)
## Issue Addressed There seems to be a conflict between `editorconfig` and `rustfmt`. `editorconfig` is configured with [`insert_final_newline=false`](https://github.com/sigp/lighthouse/blob/stable/.editorconfig#L9C1-L9C21) which [removes the newline](https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#insert_final_newline), whereas `rustfmt` [adds a newline](https://rust-lang.github.io/rustfmt/?version=v1.6.0&search=#newline_style). ## Proposed Changes Align `.editorconfig` with `rustfmt`
This commit is contained in:
parent
f1ac12f23a
commit
9d8b2764ef
@ -6,4 +6,4 @@ end_of_line=lf
|
|||||||
charset=utf-8
|
charset=utf-8
|
||||||
trim_trailing_whitespace=true
|
trim_trailing_whitespace=true
|
||||||
max_line_length=100
|
max_line_length=100
|
||||||
insert_final_newline=false
|
insert_final_newline=true
|
Loading…
Reference in New Issue
Block a user