Skip to content

Commit

Permalink
refactor(linter): remove unused with_rules method
Browse files Browse the repository at this point in the history
  • Loading branch information
camc314 committed Dec 19, 2024
1 parent 0f9308f commit 3262b86
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions crates/oxc_linter/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,6 @@ impl Linter {
Self { options, config }
}

#[cfg(test)]
#[must_use]
pub fn with_rules(mut self, rules: Vec<RuleWithSeverity>) -> Self {
self.config.set_rules(rules);
self
}

/// Set the kind of auto fixes to apply.
///
/// # Example
Expand Down

0 comments on commit 3262b86

Please sign in to comment.