Skip to content
Merged
Changes from all commits
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
2 changes: 1 addition & 1 deletion crates/oxc_linter/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ impl Linter {
// don't thrash the cache too much. Feel free to tweak based on benchmarking.
//
// See https://github.com/oxc-project/oxc/pull/6600 for more context.
if semantic.stats().nodes > 200_000 {
if semantic.nodes().len() > 200_000 {
// Collect rules into a Vec so that we can iterate over the rules multiple times
let rules = rules.collect::<Vec<_>>();

Expand Down
Loading