mirror of
https://github.com/github/codeql-action.git
synced 2026-01-04 21:50:17 +08:00
6 lines
220 B
JavaScript
6 lines
220 B
JavaScript
module.exports = (context, badBrowser) => ({
|
|
'AssignmentExpression[operator="**="], BinaryExpression[operator="**"]'(node) {
|
|
context.report(node, `Exponentiation Operator is not supported in ${badBrowser}`)
|
|
}
|
|
})
|