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

Support .editorconfig's continuation_indent_size #76

Closed
JLLeitschuh opened this issue Aug 14, 2017 · 3 comments · Fixed by #104
Closed

Support .editorconfig's continuation_indent_size #76

JLLeitschuh opened this issue Aug 14, 2017 · 3 comments · Fixed by #104

Comments

@JLLeitschuh
Copy link
Contributor

According to ktlint both of these are valid:

fun Project.`spotless`(configure: com.diffplug.gradle.spotless.SpotlessExtension.() -> Unit = {}) =
    extensions.getByName<com.diffplug.gradle.spotless.SpotlessExtension>("spotless").apply { configure() }
fun Project.`spotless`(configure: com.diffplug.gradle.spotless.SpotlessExtension.() -> Unit = {}) =
        extensions.getByName<com.diffplug.gradle.spotless.SpotlessExtension>("spotless").apply { configure() }

Similarly both of these are valid:

val someSet = setOf(
    "a"
)
val someSet = setOf(
        "a"
)
@shyiko
Copy link
Collaborator

shyiko commented Aug 14, 2017

Yeah, support for .editorconfig's continuation_indent_size is not implemented yet (IndentationRule). It would be very nice to have, though.

@JLLeitschuh
Copy link
Contributor Author

The link you posted is dead.

@shyiko
Copy link
Collaborator

shyiko commented Aug 15, 2017

@JLLeitschuh (updated)

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 a pull request may close this issue.

2 participants