From 25651ec10bdd0d0ee4b1e1ec4026bace2c5759c0 Mon Sep 17 00:00:00 2001 From: Amr Bashir <48618675+amrbashir@users.noreply.github.com> Date: Wed, 1 Dec 2021 05:04:50 +0200 Subject: [PATCH] fix(cli.rs): don't enforce a `rustfmt.toml` (#2990) * fix(cli.rs): don't enforce a `rustfmt.toml` * rmove it from plugins templates --- .../cli.rs/templates/app/src-tauri/rustfmt.toml | 14 -------------- .../cli.rs/templates/plugin/backend/rustfmt.toml | 15 --------------- .../cli.rs/templates/plugin/with-api/rustfmt.toml | 15 --------------- 3 files changed, 44 deletions(-) delete mode 100644 tooling/cli.rs/templates/app/src-tauri/rustfmt.toml delete mode 100644 tooling/cli.rs/templates/plugin/backend/rustfmt.toml delete mode 100644 tooling/cli.rs/templates/plugin/with-api/rustfmt.toml diff --git a/tooling/cli.rs/templates/app/src-tauri/rustfmt.toml b/tooling/cli.rs/templates/app/src-tauri/rustfmt.toml deleted file mode 100644 index 550a09853..000000000 --- a/tooling/cli.rs/templates/app/src-tauri/rustfmt.toml +++ /dev/null @@ -1,14 +0,0 @@ -max_width = 100 -hard_tabs = false -tab_spaces = 2 -newline_style = "Auto" -use_small_heuristics = "Default" -reorder_imports = true -reorder_modules = true -remove_nested_parens = true -edition = "2021" -merge_derives = true -use_try_shorthand = false -use_field_init_shorthand = false -force_explicit_abi = true -imports_granularity = "Crate" diff --git a/tooling/cli.rs/templates/plugin/backend/rustfmt.toml b/tooling/cli.rs/templates/plugin/backend/rustfmt.toml deleted file mode 100644 index c0e2a9e80..000000000 --- a/tooling/cli.rs/templates/plugin/backend/rustfmt.toml +++ /dev/null @@ -1,15 +0,0 @@ -max_width = 100 -hard_tabs = false -tab_spaces = 2 -newline_style = "Unix" -use_small_heuristics = "Default" -reorder_imports = true -reorder_modules = true -remove_nested_parens = true -edition = "2021" -merge_derives = true -use_try_shorthand = false -use_field_init_shorthand = false -force_explicit_abi = true -normalize_doc_attributes = true -license_template_path = ".license_template" diff --git a/tooling/cli.rs/templates/plugin/with-api/rustfmt.toml b/tooling/cli.rs/templates/plugin/with-api/rustfmt.toml deleted file mode 100644 index c0e2a9e80..000000000 --- a/tooling/cli.rs/templates/plugin/with-api/rustfmt.toml +++ /dev/null @@ -1,15 +0,0 @@ -max_width = 100 -hard_tabs = false -tab_spaces = 2 -newline_style = "Unix" -use_small_heuristics = "Default" -reorder_imports = true -reorder_modules = true -remove_nested_parens = true -edition = "2021" -merge_derives = true -use_try_shorthand = false -use_field_init_shorthand = false -force_explicit_abi = true -normalize_doc_attributes = true -license_template_path = ".license_template"