I have a JS project with strict ESLint rules and "eslint.run": "onType"
setting. I would like to ignore new Quokka.js Untitled editors, which are just a playground and I do not want to bother with clean syntax there. Is there any way how to disable VS Code ESLint for Quokka Untitled editors?
A possible workaround could be to automatically add a line /* eslint-disable */
to every Quokka.js New JavaScript File, but I also do not know if it's possible. (Maybe by a Quokka.js plugin, but that's the last option due to complexity.)
The ESLint extension in VSCode has a
Eslint: Ignore Untitled
option which solved the issue for me.