Skip to content

Commit

Permalink
chore: remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Feb 20, 2021
1 parent 5813078 commit a9c4da7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/eslint-mdx/src/regexp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,8 @@ export const isOpenTag = (text: string) => OPEN_TAG_REGEX.test(text.trim())
export const isCloseTag = (text: string) => CLOSE_TAG_REGEX.test(text.trim())
export const isComment = (text: string) => COMMENT_REGEX.test(text.trim())

// the following functions are only declared for robustness and should never be called
/* istanbul ignore next */
export const isOpenCloseTag = (text: string) =>
OPEN_CLOSE_TAG_REGEX.test(text.trim())

/* istanbul ignore next */
export const isSelfClosingTag = (text: string) =>
SELF_CLOSING_TAG_REGEX.test(text.trim())

0 comments on commit a9c4da7

Please sign in to comment.