Skip to content

Commit f9f3533

Browse files
committed
chore: add allowlist filter configuration
1 parent 8965dc9 commit f9f3533

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.textlintrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ module.exports = {
55
plugins: ["html"],
66
filters: {
77
comments: true,
8+
allowlist: {
9+
allow: ["/<(code|pre)[^>]*>[\\s\\S]*?</(code|pre)>/"],
10+
},
811
},
912
rules: {
1013
"preset-jtf-style": {

0 commit comments

Comments
 (0)