Skip to content

Commit

Permalink
Disable ktlint rule that always causes issues
Browse files Browse the repository at this point in the history
  • Loading branch information
friendlyanon committed Apr 8, 2020
1 parent 9b3b836 commit 5e2dec3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ end_of_line = crlf
# noinspection EditorConfigKeyCorrectness
[*.kt]
insert_final_newline = true
disabled_rules = no-wildcard-imports
disabled_rules = no-wildcard-imports, import-ordering
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import com.github.jengelman.gradle.plugins.shadow.tasks.ConfigureShadowRelocation
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import java.util.jar.Attributes.Name.*
import org.jlleitschuh.gradle.ktlint.reporter.ReporterType
import java.util.jar.Attributes.Name.*

plugins {
val ktlintVersion = "9.2.1"
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/gateway/controller/Main.kt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package gateway.controller

import gateway.controller.database.DbWrapper
import org.mapdb.DBMaker
import java.io.File
import kotlin.system.exitProcess
import org.mapdb.DBMaker

private fun usage(): Nothing {
println(
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/gateway/controller/Master.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import gateway.controller.utils.simpleName
import gateway.controller.workers.Orchestrator
import gateway.controller.workers.WebApi
import gateway.controller.workers.WorkerContainer
import org.slf4j.LoggerFactory
import kotlin.concurrent.thread
import kotlin.system.exitProcess
import org.slf4j.LoggerFactory

class Master(port: Int, val localStorage: DbWrapper) : Runnable {
val webApi: WorkerContainer
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/gateway/controller/server/Server.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import gateway.controller.events.EventException
import gateway.controller.events.master.CommandEvent
import gateway.controller.events.master.InquireStatusEvent
import gateway.controller.events.webapi.StatusEvent
import gateway.controller.server.models.Command as CommandModel
import gateway.controller.utils.Queue
import gateway.controller.utils.cast
import gateway.controller.workers.WebApi
import gateway.controller.server.models.Command as CommandModel

class Server(private val parent: WebApi, port: Int) : NanoHTTPD(port) {
private val mapper = jacksonObjectMapper()
Expand Down

0 comments on commit 5e2dec3

Please sign in to comment.