From 5f675b76f6d7d952ee1db74a9e97c5b70c9725b4 Mon Sep 17 00:00:00 2001 From: Victorien Elvinger Date: Fri, 15 Sep 2023 13:58:44 +0200 Subject: [PATCH] refactor: format code --- crates/biome_cli/tests/commands/check.rs | 5 +---- crates/biome_js_analyze/src/options.rs | 6 +++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/crates/biome_cli/tests/commands/check.rs b/crates/biome_cli/tests/commands/check.rs index 3cb49714cdc8..8f748420655f 100644 --- a/crates/biome_cli/tests/commands/check.rs +++ b/crates/biome_cli/tests/commands/check.rs @@ -2533,10 +2533,7 @@ fn should_not_enable_nursery_rules() { fs.insert(configuration_path.into(), configuration.as_bytes()); let file_path = Path::new("fix.ts"); - fs.insert( - file_path.into(), - r#"let confusingVoidType: void;"#, - ); + fs.insert(file_path.into(), r#"let confusingVoidType: void;"#); let result = run_cli( DynRef::Borrowed(&mut fs), diff --git a/crates/biome_js_analyze/src/options.rs b/crates/biome_js_analyze/src/options.rs index 3b2f85728c73..cc688628b56f 100644 --- a/crates/biome_js_analyze/src/options.rs +++ b/crates/biome_js_analyze/src/options.rs @@ -4,12 +4,12 @@ use crate::analyzers::nursery::no_excessive_complexity::{complexity_options, Com use crate::semantic_analyzers::nursery::use_exhaustive_dependencies::{ hooks_options, HooksOptions, }; -use crate::semantic_analyzers::style::use_naming_convention::{ - naming_convention_options, NamingConventionOptions, -}; use crate::semantic_analyzers::style::no_restricted_globals::{ restricted_globals_options, RestrictedGlobalsOptions, }; +use crate::semantic_analyzers::style::use_naming_convention::{ + naming_convention_options, NamingConventionOptions, +}; use biome_analyze::options::RuleOptions; use biome_analyze::RuleKey; use biome_deserialize::json::VisitJsonNode;