Skip to content

False positive: in addition to <adjective> inside of parenthetical or nonrestrictive clause #2206

@dormieriancitizen

Description

@dormieriancitizen

What got flagged?

This builds themes of spiritual (in addition to personal) failure
This builds themes of spiritual, in addition to personal, failure

"To" was flagged and suggested to be replaced with "too".

When the clause does not end after the adjective, the linter correctly picks up on the fact that the to is not meant to be a too, but when it does (as in a parenthetical or nonrestrictive comma clauses), it incorrectly suggests replacing the to.

Why is this incorrect?
Just reading it, this is not correct:
"this builds themes of spiritual, in addition too personal, failure"

Example of correct usage:
No correction should be offered here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions