code: function isNodeIgnored(node) {
      const parent = node.parent;
  
      if (!parent) {
          // Root was reached.
          return false;
      }
  
      if (parent.some((child) => (child.type === 'comment' && PATTERN_IGNORE.test(child.text)))) {
          // Instruction to ignore the node was detected.
          return true;
      }
  
      // Check the instruction on one level above.
      return isNodeIgnored(parent);
  }
docs: Check instruction to ignore the node.
  @param  {Node} node
  @return {boolean}