mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* add rustfmt.toml, use nightly in CI, update contributing docs * run `cargo +nightly fmt`
13 lines
343 B
TOML
13 lines
343 B
TOML
format_code_in_doc_comments = true
|
|
wrap_comments = true
|
|
comment_width = 100 # same as default max_width
|
|
normalize_doc_attributes = true
|
|
normalize_comments = true
|
|
|
|
condense_wildcard_suffixes = true
|
|
format_strings = true
|
|
group_imports = "StdExternalCrate"
|
|
imports_granularity = "Module"
|
|
reorder_impl_items = true
|
|
use_field_init_shorthand = true
|