This website requires JavaScript.
Explore
Help
Register
Sign In
WindyMadman
/
Cultivation
Watch
1
Star
0
Fork
0
You've already forked Cultivation
mirror of
https://github.com/Grasscutters/Cultivation.git
synced
2025-01-08 12:07:45 +08:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
55a90ea531
Cultivation
/
src-tauri
/
rustfmt.toml
5 lines
95 B
TOML
Raw
Normal View
History
Unescape
Escape
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.
2022-07-19 17:37:34 +08:00
newline_style
=
"Unix"
Configure and run rustfmt
2022-07-11 17:40:28 +08:00
tab_spaces
=
2
use_field_init_shorthand
=
true
use_try_shorthand
=
true
Reference in New Issue
Copy Permalink