Skip to content

Commit 9900fbe

Browse files
committed
Simplify in prep for new release
1 parent 5073876 commit 9900fbe

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

MDX/.vale.ini

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,5 @@
1-
[formats]
2-
mdx = md
3-
41
[*.mdx]
5-
CommentDelimiters = {/*, */}
6-
72
# Exclude:
83
#
9-
# `import ...`, `export ...`
10-
# `<Component ... />`
11-
# `<Component>...</Component>`
12-
# `{ ... }`
13-
TokenIgnores = (?sm)((?:import|export) .+?$), \
14-
(?<!`)(<\w+ ?.+ ?\/>)(?!`), \
15-
(<[A-Z]\w+>.+?<\/[A-Z]\w+>)
16-
17-
# Exclude:
18-
#
19-
# `<Component \n ... />`
20-
BlockIgnores = (?sm)^(<\w+\n .*\s\/>)$, \
21-
(?sm)^({.+.*})
4+
# - Non-JS inline expressions (which cause Acorn to throw)
5+
TokenIgnores = '({#[^\n}]+})(?!`)'

0 commit comments

Comments
 (0)