Skip to content

TrailingNewlineRule.swift doesn't seem to work #43

Closed

Description

@rajohns08

I've tried adding multiple ending new lines and having 0 extra new lines at the end of my file, but I never get a warning for this. I know the swiftlint library is active though, because I'm getting other warnings.

Activity

  1. added
    bug
    on May 28, 2015
  2. jpsim commented on May 28, 2015

    @jpsim
    Collaborator

    You're absolutely right! I'll look into why this is the case.

  3. added a commit that references this issue on May 28, 2015
    26075a2
  4. jpsim commented on May 28, 2015

    @jpsim
    Collaborator

    The problem was that we weren't specifying a line in the warning, so Xcode didn't pick it up. Fixed in #46.

  5. rajohns08 commented on May 28, 2015

    @rajohns08
    Author

    Has this fix been pushed to brew yet? Running a brew upgrade didn't update the package.

  6. jpsim commented on May 28, 2015

    @jpsim
    Collaborator

    Nope, there's a big pile of fixes as you can see from the CHANGELOG that I'd like to include in a release shortly. I'll cut a release today or tomorrow.

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions