unplugin / unplugin-turbo-console

🚀 Improve the Developer Experience of console
https://utc.yuy1n.io
MIT License
527 stars 12 forks source link

Specify the ability of a single console not to use a plugin #23

Closed hooray closed 8 months ago

hooray commented 8 months ago

Clear and concise description of the problem

There are some consoles in the project that would prefer not to use the plugin's capabilities, as they may be presenting static information that is not intended for debugging.

Suggested solution

I have no idea 😂

Alternative

No response

Additional context

No response

Validations

yuyinws commented 8 months ago

Maybe we can implement this feature through comments(like eslint):

For example:

console.log('foo') // turbo-console-disable-line

console.log('foo') console.log('bar')



WDYT👀?
hooray commented 8 months ago

I think it's great !