From 0b68e309cf70e1c1299b29fd1c2b94a79db77d2b Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa Date: Sat, 11 May 2024 14:41:34 +0100 Subject: [PATCH] chore: regression in benchmarks --- xtask/bench/src/language.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xtask/bench/src/language.rs b/xtask/bench/src/language.rs index a0e391d4ae8b..1d09c6000348 100644 --- a/xtask/bench/src/language.rs +++ b/xtask/bench/src/language.rs @@ -1,4 +1,5 @@ use crate::test_case::TestCase; +use biome_analyze::options::JsxRuntime; use biome_analyze::{AnalysisFilter, AnalyzerOptions, ControlFlow, Never, RuleCategories}; use biome_css_formatter::context::{CssFormatContext, CssFormatOptions}; use biome_css_parser::CssParserOptions; @@ -160,7 +161,8 @@ impl Analyze { categories: RuleCategories::SYNTAX | RuleCategories::LINT, ..AnalysisFilter::default() }; - let options = AnalyzerOptions::default(); + let mut options = AnalyzerOptions::default(); + options.configuration.jsx_runtime = Some(JsxRuntime::default()); biome_js_analyze::analyze( root, filter,