Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
line: ex.lineNumber - 1,
ch: ex.column ? ex.column - 1 : ex.column
},
end: {
line: ex.lineNumber - 1,
ch: ex.column
}
},
pos: {
line: ex.lineNumber,
ch: ex.column
}
}];
}
return jshint.lint(source, options);
}