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