Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions crates/oxc_linter/src/config/config_builder.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
use itertools::Itertools;
use oxc_diagnostics::OxcDiagnostic;
use oxc_span::CompactStr;
use rustc_hash::FxHashSet;
Comment thread
Boshen marked this conversation as resolved.
Outdated
use std::{
cell::{Ref, RefCell},
fmt,
};

use oxc_diagnostics::OxcDiagnostic;
use oxc_span::CompactStr;
use rustc_hash::FxHashSet;

use crate::{
AllowWarnDeny, LintConfig, LintFilter, LintFilterKind, Oxlintrc, RuleCategory, RuleEnum,
RuleWithSeverity,
Expand Down Expand Up @@ -326,6 +326,7 @@ impl ConfigStoreBuilder {
let new_rules = self
.rules
.iter()
.sorted_by_key(|x| format!("{}/{}", x.plugin_name(), x.name()))
Comment thread
Boshen marked this conversation as resolved.
Outdated
.map(|r: &RuleWithSeverity| ESLintRule {
plugin_name: r.plugin_name().to_string(),
rule_name: r.rule.name().to_string(),
Expand Down