Chakroun-Anas / turbo-console-log

591 stars 141 forks source link

add disable next line when eslint has no console setting #178

Open RobKohr opened 1 year ago

RobKohr commented 1 year ago

Can you add a setting so that you can add a line before the console message to handle eslint issues.

We have no-console set in eslint, so I need to add this before any console messages // eslint-disable-next-line no-console

Ideally the extension could read eslint settings and add this line, but I understand that would take a lot more effort. Having a setting that just allows you to add some text and a new line before the console.log would be good enough, and also more flexible.