From 710128f7399d40f13af1f6a2cfe42ce2226362f9 Mon Sep 17 00:00:00 2001 From: Alex Saveau Date: Sat, 3 Mar 2018 19:51:07 -0800 Subject: [PATCH] Make ktlint happy Signed-off-by: Alex Saveau --- .editorconfig | 2 ++ build.gradle | 2 +- .../java/org/sert2521/powerup/intake/commands/EjectBlock.kt | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..174a84d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,2 @@ +[*.{kt,kts}] +indent_size=unset diff --git a/build.gradle b/build.gradle index 912ac1a..85f0282 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ buildscript { ext.kotlinVersion = '1.2.30' ext.gradleRioVersion = '2018.02.17' ext.sertainVersion = 'c1a751504d' - ext.ktlintVersion = '0.15.0' + ext.ktlintVersion = '0.19.0' repositories { jcenter() diff --git a/src/main/java/org/sert2521/powerup/intake/commands/EjectBlock.kt b/src/main/java/org/sert2521/powerup/intake/commands/EjectBlock.kt index 1451b14..0994e04 100644 --- a/src/main/java/org/sert2521/powerup/intake/commands/EjectBlock.kt +++ b/src/main/java/org/sert2521/powerup/intake/commands/EjectBlock.kt @@ -2,7 +2,6 @@ package org.sert2521.powerup.intake.commands import org.sert2521.powerup.intake.Intake import org.sert2521.powerup.util.fastEjectSpeedScalar -import org.sert2521.powerup.util.normalEjectSpeedScalar import org.sertain.command.Command class EjectBlock : Command(500) {