actions/github/codeql-action-v2/node_modules/eslint-plugin-escompat/lib/rules/no-pipeline-operator.js

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}`)
}
})