fi3ework / vite-plugin-checker

💬 Vite plugin that provide checks of TypeScript, ESLint, vue-tsc, Stylelint and more.
https://vite-plugin-checker.netlify.app
MIT License
1k stars 87 forks source link

Hide eslint output in browser but show in terminal #231

Open timsofteng opened 1 year ago

timsofteng commented 1 year ago

Is your feature request related to a problem? Please describe.

Hello. I often use console.log. It is forbidden in my eslint config. I dot't know how to work with it properly. I don't want to see warning messages about my console.log in browser.

Describe the solution you'd like

I guess an option to hide output of some checkers in browser would be enough.

Describe alternatives you've considered

If you have better solution please describe it. Thanks.

Additional context

No response

Validations

so1ve commented 1 year ago

To disable your eslint rule temporarily, just add // eslint-disable-line. If you want, you can add a TODO comment as a reminder.

timsofteng commented 1 year ago

To disable your eslint rule temporarily, just add // eslint-disable-line. If you want, you can add a TODO comment as a reminder.

This is what I do now and what I would like to change.

kanenathan213 commented 3 months ago

@timsofteng you can do

plugins: [
   ...
   checker({
      typescript: true,
      overlay: false,
   }),
   ...
]