Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Detect needless blank lines #92

Merged
merged 3 commits into from
Oct 22, 2017

Conversation

Ilya-Gh
Copy link
Contributor

@Ilya-Gh Ilya-Gh commented Oct 22, 2017

Closes #65 as IDEA's formatter is now able to detect blank lines before }.

Please note that additionally to the case described in the issue

fun main() {
    fun a() {
    }
    
}

The rule also prohibits the following construction:

fun a() {

}

and formats it to

fun a() {
}

@shyiko
Copy link
Collaborator

shyiko commented Oct 22, 2017

Terrific! Thank you, Ilya! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants