Skip to content

Commit 9d8b276

Browse files
committed
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`
1 parent f1ac12f commit 9d8b276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ end_of_line=lf
66
charset=utf-8
77
trim_trailing_whitespace=true
88
max_line_length=100
9-
insert_final_newline=false
9+
insert_final_newline=true

0 commit comments

Comments
 (0)