Skip to content

How to get filters to work with TextLintEngine when used as a module? #1389

Answered by azu
Piedone asked this question in Q&A
Discussion options

You must be logged in to vote

This is undocument way.
Probabaly, you can use filterRules instead of filters.

this.filterRules = applyNormalizerToList(
normalizeTextlintFilterRuleKey,
options.filterRules ? options.filterRules : defaultOptions.filterRules

⚠️ TextLintEngine is deprecated in textlint v14.0.0 · textlint.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Piedone
Comment options

Answer selected by Piedone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants