misspell icon indicating copy to clipboard operation
misspell copied to clipboard

False positive for string "... \nto ..."

Open nelljerram opened this issue 4 years ago • 2 comments

The "nto" reports at https://goreportcard.com/report/github.com/projectcalico/felix#misspell are wrong. The string concerned is "Connectivity was incorrect:\n\nExpected\n %s\nto match\n %s" and the "nto" is actually a newline ("\n") followed by "to".

nelljerram avatar Mar 03 '20 11:03 nelljerram

I've also raised this: https://github.com/client9/misspell/issues/160

lmorg avatar Jan 04 '21 11:01 lmorg

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

thediveo avatar Feb 06 '21 19:02 thediveo