Skip to content
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

How to deal with false positives caused by hash digests #699

Closed
fox-222 opened this issue Mar 25, 2023 · 1 comment
Closed

How to deal with false positives caused by hash digests #699

fox-222 opened this issue Mar 25, 2023 · 1 comment

Comments

@fox-222
Copy link

fox-222 commented Mar 25, 2023

When there is a digest in the .md file, there may be false positives, as seen here.

After reading the documentation, adding all digests to typos.yml would be a bit strange, and ignoring this file is not an option (because I see that sui uses typos to check for spelling errors in the document).

So what is the best practice here?

@epage
Copy link
Collaborator

epage commented Mar 25, 2023

Related issues

In the latest release, we added support for extend-ignore-re which allows you to define custom ignorables like for your digest.

I'm inclined to close this in favor of extend-ignore-re and the above issues (iirc one of them includes a more general heuristic for ignoring "garbage")

@fox-222 fox-222 closed this as completed Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants