Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

TrailingNewlineRule.swift doesn't seem to work #43

Closed
rajohns08 opened this issue May 27, 2015 · 4 comments · Fixed by #46
Closed

TrailingNewlineRule.swift doesn't seem to work #43

rajohns08 opened this issue May 27, 2015 · 4 comments · Fixed by #46
Labels
bug Unexpected and reproducible misbehavior.

Comments

@rajohns08
Copy link

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.

@jpsim jpsim added the bug Unexpected and reproducible misbehavior. label May 28, 2015
@jpsim
Copy link
Collaborator

jpsim commented May 28, 2015

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

@jpsim
Copy link
Collaborator

jpsim commented May 28, 2015

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

@rajohns08
Copy link
Author

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

@jpsim
Copy link
Collaborator

jpsim commented May 28, 2015

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Unexpected and reproducible misbehavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants