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

New linter error if there is a hyphen character (‐, code point U+2010) #304

Open
vitorhcl opened this issue Feb 19, 2024 · 2 comments
Open

Comments

@vitorhcl
Copy link
Member

vitorhcl commented Feb 19, 2024

This character is visually the same as hyphen minus (‐, code point U+002D), so it's very hard to catch for humans.

@gutjuri
Copy link
Member

gutjuri commented Mar 20, 2024

I am planning to implement such a check. Are you aware of any other hard-to-spot symbols that should be checked for? E.g. different types of space?

@vitorhcl
Copy link
Member Author

I am planning to implement such a check. Are you aware of any other hard-to-spot symbols that should be checked for? E.g. different types of space?

I did some research on invisible character and there are many of them, not to tell other characters like those other quotes.

Maybe we could instead use an allowed set of characters for English pages?

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