Avatar for the oxc-project user
oxc-project
oxc
BlogDocsChangelog

fix(linter): Fix `vitest/no-restricted-vi-methods` and add tests for it.

#16971Merged
Comparing
no-restricted-vitest-test
(
4306140
) with
main
(
5a2af88
)
CodSpeed Performance Gauge
0%
Untouched
4
Skipped
41

Benchmarks

45 total
linter[binder.ts]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
0%
48.7 ms48.7 ms
linter[cal.com.tsx]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
0%
474 ms474.6 ms
linter[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
0%
724.3 µs726.2 µs
linter[react.development.js]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
0%
19.6 ms19.7 ms
formatter[binder.ts]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
Skipped
21.2 ms*
formatter[cal.com.tsx]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
Skipped
188.5 ms*
formatter[react.development.js]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
Skipped
10.7 ms*
minifier[react.development.js]
tasks/benchmark/benches/minifier.rs::minifier::bench_minifier
Skipped
2.5 ms*
mangler[react.development.js]
tasks/benchmark/benches/minifier.rs::minifier::bench_mangler
Skipped
267.5 µs*
mangler[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/minifier.rs::minifier::bench_mangler
Skipped
13.3 µs*
minifier[cal.com.tsx]
tasks/benchmark/benches/minifier.rs::minifier::bench_minifier
Skipped
36.2 ms*
mangler[cal.com.tsx]
tasks/benchmark/benches/minifier.rs::minifier::bench_mangler
Skipped
2.9 ms*
mangler[binder.ts]
tasks/benchmark/benches/minifier.rs::minifier::bench_mangler
Skipped
763.1 µs*
minifier[binder.ts]
tasks/benchmark/benches/minifier.rs::minifier::bench_minifier
Skipped
4 ms*
semantic[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/semantic.rs::semantic::bench_semantic
Skipped
70.6 µs*
semantic[cal.com.tsx]
tasks/benchmark/benches/semantic.rs::semantic::bench_semantic
Skipped
25.9 ms*
semantic[react.development.js]
tasks/benchmark/benches/semantic.rs::semantic::bench_semantic
Skipped
1.6 ms*
semantic[binder.ts]
tasks/benchmark/benches/semantic.rs::semantic::bench_semantic
Skipped
4 ms*
formatter[Search.tsx]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
Skipped
1.9 ms*
formatter[types.ts]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
Skipped
14.7 ms*
formatter[core.js]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
Skipped
2 ms*
formatter[next.ts]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
Skipped
2.7 ms*
formatter[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
Skipped
437.9 µs*
formatter[errors.ts]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
Skipped
756.7 µs*
formatter[index.tsx]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
Skipped
4.5 ms*

Commits

Click on a commit to change the comparison range
Base
main
5a2af88
+0.03%
Update test to confirm behavior works.
befa4bf
2 months ago
by connorshea
+0.02%
Update snapshots.
61d7a7b
2 months ago
by connorshea
-0.1%
Add contextual comment.
d657524
2 months ago
by connorshea
-0.05%
[autofix.ci] apply automated fixes
4ac970e
2 months ago
by autofix-ci[bot]
-0.1%
Add a clarification comment.
4306140
2 months ago
by connorshea
© 2026 CodSpeed Technology
Home Terms Privacy Docs