Every line of 'ignore line' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
33 function _ignoreTag(tag) { 34 var token = cm.getTokenAt(pos(tag.line, tag.index + tag.matches[1].length)); 35 //ignore brraces in comments and strings 36 if (!token.type || (token.type === "comment" && (tag.matches[1] === "/*" || tag.matches[1] === "*/"))) { 37 return false; 38 } 39 return true; 40 }