Update Kotlinter

Ignores failures for now as some work is required to get it linting
correctly again.

Signed-off-by: Graham <gpe@openrs2.org>
master
Graham 8 months ago
parent fb9cb2a6b1
commit c53d072f7a
  1. 3
      .editorconfig
  2. 3
      build.gradle.kts
  3. 2
      gradle/libs.versions.toml

@ -13,9 +13,6 @@ indent_style = tab
# @formatter:on
indent_style = space
indent_size = 4
# see https://github.com/pinterest/ktlint/issues/764
# noinspection EditorConfigKeyCorrectness
disabled_rules = argument-list-wrapping, parameter-list-wrapping, wrapping
[*.md]
max_line_length = 80

@ -51,8 +51,7 @@ allprojects {
plugins.withType<KotlinterPlugin> {
configure<KotlinterExtension> {
// see https://github.com/pinterest/ktlint/issues/764
disabledRules = arrayOf("argument-list-wrapping", "parameter-list-wrapping", "wrapping")
ignoreFailures = true
}
}

@ -15,7 +15,7 @@ nettyIoUring = "0.0.21.Final"
[plugins]
dependencyLicenseReport = { id = "com.github.jk1.dependency-license-report", version = "2.5" }
dokka = { id = "org.jetbrains.dokka", version = "1.8.20" }
kotlinter = { id = "org.jmailen.kotlinter", version = "3.13.0" }
kotlinter = { id = "org.jmailen.kotlinter", version = "3.16.0" }
shadow = { id = "com.github.johnrengelman.shadow", version = "8.1.1" }
versions = { id = "com.github.ben-manes.versions", version = "0.47.0" }

Loading…
Cancel
Save