code: function hasFallthroughComment(node, context, fallthroughCommentPattern) {
      const sourceCode = context.getSourceCode();
      const comment = lodash.last(sourceCode.getCommentsBefore(node));
  
      return Boolean(comment && fallthroughCommentPattern.test(comment.value));
  }
docs: Checks whether or not a given node has a fallthrough comment.
  @param {ASTNode} node - A SwitchCase node to get comments.
  @param {RuleContext} context - A rule context which stores comments.
  @param {RegExp} fallthroughCommentPattern - A pattern to match comment to.
  @returns {boolean} `true` if the node has a valid fallthrough comment.