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

Escape sequences treated as regular characters #160

Open
lmorg opened this issue Sep 8, 2019 · 1 comment
Open

Escape sequences treated as regular characters #160

lmorg opened this issue Sep 8, 2019 · 1 comment

Comments

@lmorg
Copy link

lmorg commented Sep 8, 2019

misspell isn't validating escape sequences and sometimes treating them as misspellings. eg

"iterated element passed\nto it."

Would return

warning: "nto" is a misspelling of "not" (misspell)

where "nto" is actually "\nto" (ie byte(13) + "to" rather than byte(110) + "to")

Please note, error message taken from https://goreportcard.com - issue raised gojp/goreportcard#294

@thediveo
Copy link

thediveo commented Feb 6, 2021

One year later and misspell still doesn't handle a typical use case correctly. With lots of such false positives it quickly looses its quality.

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