mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-01-07 03:26:56 +08:00
e9df0f17db
- 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.
5 lines
95 B
TOML
5 lines
95 B
TOML
newline_style = "Unix"
|
|
tab_spaces = 2
|
|
use_field_init_shorthand = true
|
|
use_try_shorthand = true
|