Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Escape sequences treated as regular characters #160

Open

Description

@lmorg

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

Activity

  1. thediveo commented on Feb 6, 2021

    @thediveo

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions