oxc-project
oxc
BlogDocsChangelog

feat(linter): Add an "Enabled" total to the bottom of the `--rules` output, and add `enabled` value to the json rules output.

#15847
Comparing
implement-enabled-total-in-output
(
b8f615b
) with
main
(
e346426
)
CodSpeed Performance Gauge
0%
Untouched
4
Skipped
41

Benchmarks

Skipped (41)

Passed

linter[react.development.js]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
0%
18.8 ms18.7 ms
linter[cal.com.tsx]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
0%
465 ms464.9 ms
linter[binder.ts]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
0%
46.7 ms46.7 ms
linter[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
0%
705.8 µs707.4 µs

Commits

Click on a commit to change the comparison range
Base
main
e346426
0%
refactor(linter): Simplify the markdown table generation so we only define this logic in one place, rather than two.
2ba524c
3 days ago
by connorshea
-0.02%
Add a basic test for the default reporter and ensuring it handles the `enabled` set.
54bc7c6
3 days ago
by connorshea
-0.05%
Update apps/oxlint/src/output_formatter/default.rs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Connor Shea <connor.james.shea@gmail.com>
c2d8122
3 days ago
by connorshea
+0.05%
Pass `enabled` for the json formatter. This will print whether each rule is enabled in the JSON output of `--rules`. Maybe we should make this return a string instead of a boolean, to distinguish between off/warn/error?
b8f615b
3 days ago
by connorshea
© 2025 CodSpeed Technology
Home Terms Privacy Docs