mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-22 19:50:37 +00:00
9d8b2764ef
## 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`
9 lines
153 B
INI
9 lines
153 B
INI
root = true
|
|
[*]
|
|
indent_style=space
|
|
indent_size=4
|
|
end_of_line=lf
|
|
charset=utf-8
|
|
trim_trailing_whitespace=true
|
|
max_line_length=100
|
|
insert_final_newline=true |