aboutsummaryrefslogtreecommitdiff
path: root/rustfmt.toml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-06-21 00:14:40 -0700
committerFuwn <[email protected]>2021-06-21 00:14:40 -0700
commit85ca99c5e11625582b91858f9fcdf9fe407cde9b (patch)
treecf670426ff9385a0094f62245d7bbb2650836bfa /rustfmt.toml
parentMerge pull request #48 from Whirlsplash/renovate/tokio-1.x (diff)
downloadwhirl-85ca99c5e11625582b91858f9fcdf9fe407cde9b.tar.xz
whirl-85ca99c5e11625582b91858f9fcdf9fe407cde9b.zip
feat(cli): generate sub-command
The long awaited `generate` sub-command is finally here. You may now generate yourself a default configuration file by running `whirl config generate`!
Diffstat (limited to 'rustfmt.toml')
-rw-r--r--rustfmt.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
index 0e9396b..777acfd 100644
--- a/rustfmt.toml
+++ b/rustfmt.toml
@@ -2,7 +2,7 @@ condense_wildcard_suffixes = true
edition = "2018"
enum_discrim_align_threshold = 20
error_on_line_overflow = true
-error_on_unformatted = true
+# error_on_unformatted = true
fn_single_line = true
force_multiline_blocks = true
format_code_in_doc_comments = true
@@ -28,3 +28,6 @@ use_field_init_shorthand = true
use_try_shorthand = true
where_single_line = true
wrap_comments = true
+
+# crates/whirl/src/cli.rs:9:9
+error_on_unformatted = false