5 lines
220 B
JavaScript
5 lines
220 B
JavaScript
module.exports = (context, badBrowser) => ({
|
|
'AssignmentExpression[operator="**="], BinaryExpression[operator="**"]'(node) {
|
|
context.report(node, `Exponentiation Operator is not supported in ${badBrowser}`)
|
|
}
|
|
})
|