Skip to content

Commit

Permalink
Change default continuationIndentSize from 8 to 4
Browse files Browse the repository at this point in the history
Partially addresses #42
  • Loading branch information
Jeremy Mailen committed Mar 16, 2018
1 parent 3ead3cd commit 4496937
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Available on the Gradle Plugins Portal: https://plugins.gradle.org/plugin/org.jm

```groovy
plugins {
id 'org.jmailen.kotlinter' version '1.8.3'
id 'org.jmailen.kotlinter' version '1.9.0'
}
```

Expand Down Expand Up @@ -72,7 +72,7 @@ Options are configured in the `kotlinter` extension. Defaults shown (you may omi
kotlinter {
ignoreFailures = false
indentSize = 4
continuationIndentSize = 8
continuationIndentSize = 4
reporters = ['checkstyle', 'plain']
}
```
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies {
testRuntime 'com.android.tools.build:gradle:3.0.1'
}

version = '1.8.3'
version = '1.9.0'
group = 'org.jmailen.gradle'
def pluginId = 'org.jmailen.kotlinter'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ open class KotlinterExtension {
companion object {
const val DEFAULT_IGNORE_FAILURES = false
const val DEFAULT_INDENT_SIZE = 4
const val DEFAULT_CONTINUATION_INDENT_SIZE = 8
const val DEFAULT_CONTINUATION_INDENT_SIZE = 4
val DEFAULT_REPORTER = ReporterType.checkstyle.name
}

Expand Down

0 comments on commit 4496937

Please sign in to comment.