mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
Add rustfmt.toml to project root
This commit is contained in:
parent
2613ded439
commit
21dca857cd
1 changed files with 19 additions and 0 deletions
19
rustfmt.otml
Normal file
19
rustfmt.otml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
edition = "2018"
|
||||
hard_tabs = true
|
||||
max_width = 180
|
||||
newline_style = "Unix"
|
||||
use_try_shorthand = true
|
||||
|
||||
# Enable when 2.0 is released:
|
||||
# match_block_trailing_comma = true
|
||||
|
||||
# Enable when control_brace_style becomes stable:
|
||||
# control_brace_style = "ClosingNextLine"
|
||||
|
||||
# Maybe enable these in the future when they're stabilized
|
||||
# normalize_comments = true
|
||||
# normalize_doc_attributes = true
|
||||
# struct_lit_width = 35
|
||||
# where_single_line = true
|
||||
|
||||
# For now run: cargo fmt -- --config match_block_trailing_comma=true --config control_brace_style=ClosingNextLine
|
||||
Loading…
Add table
Add a link
Reference in a new issue