perf(linter/plugins): remove regex from getCommentsBefore + getCommentsAfter
#20475
+90
−58
getCommentsBefore + getCommentsAfter
#20475