lib/rules/no-mixed-operators.js
function shouldIgnore(node) {
            const a = node;
            const b = node.parent;

            return (
                !includesBothInAGroup(options.groups, a.operator, b.operator) ||
                (
                    options.allowSamePrecedence &&
                    astUtils.getPrecedence(a) === astUtils.getPrecedence(b)
                )
            );
        }
function shouldIgnore(node) {
            const a = node;
            const b = node.parent;

            return (
                !includesBothInAGroup(options.groups, a.operator, b.operator) ||
                (
                    options.allowSamePrecedence &&
                    astUtils.getPrecedence(a) === astUtils.getPrecedence(b)
                )
            );
        }
function shouldIgnore ( node ) { const a = node ; const b = node . parent ; return ( ! includesBothInAGroup ( options . groups , a . operator , b . operator ) || ( options . allowSamePrecedence && astUtils . getPrecedence ( a ) === astUtils . getPrecedence ( b ) ) ) ; }
Checks whether a given node should be ignored by options or not.

@param {ASTNode} node - A node to check. This is a BinaryExpression
node or a LogicalExpression node. This parent node is one of
them, too.
@returns {boolean} `true` if the node should be ignored.
Checks whether a given node should be ignored by options or not .