Releases: textlint/textlint-filter-rule-allowlist
Releases · textlint/textlint-filter-rule-allowlist
v4.0.0
v3.0.0
v2.0.1
2.0.0
Bug Fixes
Potentially, allow
behavior is changed by this major update.
Before
For example, you want to ginore following pattern: /#.*{#[a-z.-]+}/
.
allow
pattern:
["/#.*{#[a-z.-]+}/"]
text:
# First {#first}
# Second {#second}
results:
This pattern match only first item({#first}
).
After
allow
pattern:
["/#.*{#[a-z.-]+}/"]
text:
# First {#first}
# Second {#second}
results:
This pattern match all items({#first}
and {#second}
).
2.0.0 treat allow
pattern as RegExp with global
flag.