Every line of 'eslint disable 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.
108 function eslint(code) { 109 const esLintOutput = esLinter.executeOnText(code, file); 110 const result = esLintOutput.results[0]; 111 if (result && result.messages.length) { 112 result.filePath = file; 113 messages.push(esLintFormatter([result])); 114 } 115 return (result && result.output) || code; 116 }
48 export function disableSourceMaps(yargs) { 49 yargs.option('disable-source-maps', { 50 description: 'Disable source map generation.', 51 type: 'boolean', 52 }) 53 }