Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function lint ( code, options ) {
if ( !options ) {
options = {};
}
if ( !options.node ) {
options.node = true;
}
hint.hint( code, options );
}
global['lint'] = lint;