devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Feature: oxlint formatter visualization

Open yuyinws opened this issue 1 year ago • 2 comments

I previously created a project named oxlint-formatter-inspector. It can visualize the formatter of oxlint:

Image

I also noticed that @antfu's slide at VueConf mentioned this point:

Image

I think it can be integrated into Vite Devtools!

On oxlint-formatter-inspector, it will execute the command npx oxlint -f json to get the formatter result. Not sure if this fits the Vite Devtools workflow. I'd be happy to discuss it!

yuyinws avatar Jul 17 '25 03:07 yuyinws

Ah, that's awesome! Let's see how we can collaborate and having them work together!

I'll discuss with the Vite Plus team to see what would be the best way for oxlint to work with rolldown-vite

antfu avatar Jul 17 '25 07:07 antfu

I have refactored oxlint-inspector and implemented the basic Vite DevTools integration. Welcome to experience and discuss!

yuyinws avatar Nov 08 '25 10:11 yuyinws