We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5813078 commit a9c4da7Copy full SHA for a9c4da7
packages/eslint-mdx/src/regexp.ts
@@ -42,11 +42,8 @@ export const isOpenTag = (text: string) => OPEN_TAG_REGEX.test(text.trim())
42
export const isCloseTag = (text: string) => CLOSE_TAG_REGEX.test(text.trim())
43
export const isComment = (text: string) => COMMENT_REGEX.test(text.trim())
44
45
-// the following functions are only declared for robustness and should never be called
46
-/* istanbul ignore next */
47
export const isOpenCloseTag = (text: string) =>
48
OPEN_CLOSE_TAG_REGEX.test(text.trim())
49
50
51
export const isSelfClosingTag = (text: string) =>
52
SELF_CLOSING_TAG_REGEX.test(text.trim())
0 commit comments