Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude string with multiple words #21

Closed
huguestennier opened this issue Feb 18, 2020 · 3 comments
Closed

Exclude string with multiple words #21

huguestennier opened this issue Feb 18, 2020 · 3 comments

Comments

@huguestennier
Copy link

Maybe I'm doing this wrong, but is there a way to exclude a whole string?

For example, I want to replace Front-end with => frontend. That works

But I want to exclude New Front-End Adventures because that's how the author titled the workshop.

Is there a way to do that? I tried both skip and exclude

@huguestennier huguestennier changed the title Exclude not working Exclude string with multiple words Feb 18, 2020
@sapegin
Copy link
Owner

sapegin commented Feb 19, 2020

exclude exclude terms from the built-in dictionary, and skip skips TextLint node types, like blockquotes, etc.

The only way to somehow achieve what you're trying to do is to disable the rule for the entire paragraph:

https://github.com/sapegin/textlint-rule-terminology#tips--tricks

@sapegin
Copy link
Owner

sapegin commented Feb 19, 2020

Having a special feature for that would be nice though — feel free to send a pull request 👾

@mghill
Copy link

mghill commented Mar 25, 2021

We are using https://github.com/textlint/textlint-filter-rule-allowlist for this purpose, FYI as it lets you omit certain words or phrases from all textlint rules

Repository owner locked and limited conversation to collaborators Sep 14, 2023
@sapegin sapegin converted this issue into discussion #66 Sep 14, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

3 participants