mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
chore(rustfmt): disable all unstable format options
This commit is contained in:
parent
608ee9116b
commit
9cb34e0021
1 changed files with 7 additions and 11 deletions
18
rustfmt.toml
18
rustfmt.toml
|
|
@ -1,5 +1,3 @@
|
|||
version = "Two"
|
||||
|
||||
# Make Rust more readable given most people have wide screens nowadays.
|
||||
# This is also the setting used by [rustc](https://github.com/rust-lang/rust/blob/master/rustfmt.toml)
|
||||
use_small_heuristics = "Max"
|
||||
|
|
@ -7,14 +5,12 @@ use_small_heuristics = "Max"
|
|||
# Use field initialize shorthand if possible
|
||||
use_field_init_shorthand = true
|
||||
|
||||
# Supported by nightly Rust
|
||||
unstable_features = true
|
||||
|
||||
# Provide a cleaner import sort order
|
||||
group_imports = "StdExternalCrate"
|
||||
|
||||
# All unstable features that we wish for
|
||||
# unstable_features = true
|
||||
# version = "Two"
|
||||
# Provide a cleaner impl order
|
||||
reorder_impl_items = true
|
||||
|
||||
# reorder_impl_items = true
|
||||
# Provide a cleaner import sort order
|
||||
# group_imports = "StdExternalCrate"
|
||||
# Group "use" statements by crate
|
||||
imports_granularity = "Crate"
|
||||
# imports_granularity = "Crate"
|
||||
|
|
|
|||
Loading…
Reference in a new issue