Skip to content

Ignore trailing whitespace inside strings (optionally?) #1045

Closed

Description

@MichaelChirico

Currently this lints:

lintr::lint("a <- '\n  \n'", lintr::trailing_whitespace_linter())
# <text>:2:1: style: Trailing whitespace is superfluous.
#   
# ^~

But there could be any number of reasons to include trailing whitespace inside a string.

Activity

  1. added this to the 3.0.0 milestone on May 2, 2022
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

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions