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