diff --git a/crates/oxc_linter/src/context/host.rs b/crates/oxc_linter/src/context/host.rs index fb633acb82a00..7526af8116dd5 100644 --- a/crates/oxc_linter/src/context/host.rs +++ b/crates/oxc_linter/src/context/host.rs @@ -9,7 +9,7 @@ use crate::{ config::LintConfig, disable_directives::{DisableDirectives, DisableDirectivesBuilder, RuleCommentType}, fixer::{Fix, FixKind, Message, PossibleFixes}, - frameworks, + frameworks::{self, FrameworkOptions}, module_record::ModuleRecord, options::LintOptions, rules::RuleEnum, @@ -63,6 +63,8 @@ pub struct ContextHost<'a> { pub(super) config: Arc, /// Front-end frameworks that might be in use in the target file. pub(super) frameworks: FrameworkFlags, + // Specific framework options, for example, whether the context is inside `