code: function checkComment(node) {
              if (astUtils.isDirectiveComment(node) && selfConfigRegEx.test(node.value)) {
                  return;
              }
  
              const matches = commentContainsWarningTerm(node.value);
  
              matches.forEach(matchedTerm => {
                  context.report({
                      node,
                      message: "Unexpected '{{matchedTerm}}' comment.",
                      data: {
                          matchedTerm
                      }
                  });
              });
          }
docs: Checks the specified node for matching warning comments and reports them.
  @param {ASTNode} node The AST node being checked.
  @returns {void} undefined.