function processComment(comment){var options=normalizedOptions[comment.type],commentValid=isCommentValid(comment,options);if(!commentValid){var message=capitalize==="always"?ALWAYS_MESSAGE:NEVER_MESSAGE;context.report({node:null,// Intentionally using loc instead
loc:comment.loc,message:message,fix:function fix(fixer){var match=comment.value.match(LETTER_PATTERN);return fixer.replaceTextRange(// Offset match.index by 2 to account for the first 2 characters that start the comment (// or /*)
[comment.range[0]+match.index+2,comment.range[0]+match.index+3],capitalize==="always"?match[0].toLocaleUpperCase():match[0].toLocaleLowerCase());}});}}//----------------------------------------------------------------------
Process a comment to determine if it needs to be reported.

@param {ASTNode} comment The comment node to process.
@returns {void}