Skip to content

Problems with the it's→its linter #2220

@hippietrail

Description

@hippietrail

Describe the bug

  1. it's with an ASCII apostrophe is linted to change to its but it’s with a Unicode apostrophe is not.
  2. The LintKind is erroneously set to Agreement but that's for things like "these is" or "they says" where two POSes that have properties that must "agree", such as "number" (singular vs plural). This is a kind of spelling mistake but Punctuation is a tighter fit.

Screenshots

it's with an ASCII/typewriter apostrophe is linted:
Image

it’s with a typesetting/"smart" apostrophe is not linted:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpunctuationAn issue related to punctuation checking

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions