Update Kotlinter

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

Signed-off-by: Graham <gpe@openrs2.org>
Graham 1 year 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 # @formatter:on
indent_style = space indent_style = space
indent_size = 4 indent_size = 4
# see https://github.com/pinterest/ktlint/issues/764
# noinspection EditorConfigKeyCorrectness
disabled_rules = argument-list-wrapping, parameter-list-wrapping, wrapping
[*.md] [*.md]
max_line_length = 80 max_line_length = 80

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

@ -15,7 +15,7 @@ nettyIoUring = "0.0.21.Final"
[plugins] [plugins]
dependencyLicenseReport = { id = "com.github.jk1.dependency-license-report", version = "2.5" } dependencyLicenseReport = { id = "com.github.jk1.dependency-license-report", version = "2.5" }
dokka = { id = "org.jetbrains.dokka", version = "1.8.20" } 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" } shadow = { id = "com.github.johnrengelman.shadow", version = "8.1.1" }
versions = { id = "com.github.ben-manes.versions", version = "0.47.0" } versions = { id = "com.github.ben-manes.versions", version = "0.47.0" }

Loading…
Cancel
Save