codeql-action/node_modules/eslint-plugin-escompat/lib/rules/no-pipeline-operator.js
2024-12-03 18:37:29 +00:00

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