some.JS.Code;
//ignore this line from linting etc.
##Software will do some stuff here, but for JS it's an Error##
hereGoesJs();
是否有可能从 Visual Studio Code 中的 linting 和格式化中排除一行?因为我需要这条线,但代码的其他部分也需要 Linting 和 Formatting ......
// I Tried
// 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