Ver Fonte

fix(cli.rs): don't enforce a `rustfmt.toml` (#2990)

* fix(cli.rs): don't enforce a `rustfmt.toml`

* rmove it from plugins templates
Amr Bashir há 3 anos atrás
pai
commit
25651ec10b

+ 0 - 14
tooling/cli.rs/templates/app/src-tauri/rustfmt.toml

@@ -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"

+ 0 - 15
tooling/cli.rs/templates/plugin/backend/rustfmt.toml

@@ -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"

+ 0 - 15
tooling/cli.rs/templates/plugin/with-api/rustfmt.toml

@@ -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"