Tweak .editorconfig and line endings

- Use `lf` line endings everywhere. This works fine even on Windows, and is more common for git repos. It also matches prettier's default.

For .editorconfig:

- Remove `insert_final_newline = false`: Omitting the final newline isn't supported by prettier or rustfmt.
- Remove `trim_trailing_whitespace = false`: The formatters will remove trailing whitespace anyways. I can't think of a good reason to want to keep trailing whitespace.
- Remove other redundant options.
This commit is contained in:
Brian Bowman
2022-07-19 04:37:34 -05:00
parent bf2ae51fb0
commit e9df0f17db
3 changed files with 4 additions and 15 deletions

View File

@@ -1,3 +1,4 @@
newline_style = "Unix"
tab_spaces = 2
use_field_init_shorthand = true
use_try_shorthand = true