We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd90549 commit 3adaf98Copy full SHA for 3adaf98
crates/oxc_linter/src/lib.rs
@@ -142,7 +142,7 @@ impl Linter {
142
// don't thrash the cache too much. Feel free to tweak based on benchmarking.
143
//
144
// See https://github.com/oxc-project/oxc/pull/6600 for more context.
145
- if semantic.stats().nodes > 200_000 {
+ if semantic.nodes().len() > 200_000 {
146
// Collect rules into a Vec so that we can iterate over the rules multiple times
147
let rules = rules.collect::<Vec<_>>();
148
0 commit comments