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

Characters for non-English text but looks like ASCII letters. #21

Open
be5invis opened this issue Oct 28, 2018 · 3 comments
Open

Characters for non-English text but looks like ASCII letters. #21

be5invis opened this issue Oct 28, 2018 · 3 comments

Comments

@be5invis
Copy link

Like Cyrillic letters, Greek question mark, CJK full-width punctuations.
Only mark them in code though.

@nhoizey
Copy link
Owner

nhoizey commented Apr 15, 2019

@be5invis hello, sorry for the very late answer, trying to catch up on all opened issues.

These would be useful indeed, but I would like to make Gremlins easily configurable before, so that people have the opportunity to decide which characters to look for.

Anyway, would you have a page somewhere listing all these characters?

@be5invis
Copy link
Author

be5invis commented May 5, 2019

Here are some examples I know:

  • Greek question mark U+037E (;);
  • Curly quotes (U+2018U+201F);
  • Characters in “Halfwidth and Fullwidth Forms” block (U+FF00U+FFEF);

For these characters:

  • If they occur in code, report error.
  • If they occur in strings or comments, notify the user.

@nhoizey
Copy link
Owner

nhoizey commented Jul 5, 2019

A few additional characters:
https://twitter.com/aemkei/status/1146884713371578369

Regarding context aware choice between error and warning, I'm not sure how to proceed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants