Closed ncphillips closed 1 year ago
Discord Context
If I have the following component:
<template> <h1>Whaterver</h1> </template> <script setup> if (process.server) { console.log('Server'); } else { console.log('Client'); } </script>
By default 'no-console' is a warning. Because of that, I get eslint warnings in my console.
Printing those warnings clobbers my console.log so that I do not see the "Server" log output.
This isn't specific to "no-console", it's true for any kind of eslint warning.
Hi @ncphillips Could you provide a minimal reproduction?
I don't have one, sorry.
It's probably still an issue but I'm not working with Nuxt anymore
Discord Context
If I have the following component:
By default 'no-console' is a warning. Because of that, I get eslint warnings in my console.
Printing those warnings clobbers my console.log so that I do not see the "Server" log output.
This isn't specific to "no-console", it's true for any kind of eslint warning.