some.JS.Code;
//ignore this line from linting etc.
##Software will do some stuff here, but for JS it's an Error##
hereGoesJs();
Is there a way to prevent a specific line from being considered during linting and formatting in Visual Studio Code? I have a line that I need to keep as is, while still ensuring linting and formatting work correctly for the rest of the code...
// I Attempted
// eslint-disable-next-line no-use-before-define
// eslint-disable-line no-use-before-define
/*eslint-disable */
//suppress all warnings between comments
alert('foo');
/*eslint-enable */
// @ts-ignore