mirror of
https://github.com/jlengrand/detekt.git
synced 2026-03-10 08:11:23 +00:00
Apply more formatting rules to our code (#3615)
* Update formatting configuration * Apply autocorrect to the project * Format using ktlint 0.41 --experimental * Minor manual improvements
This commit is contained in:
@@ -22,7 +22,6 @@ import com.github.ajalt.clikt.core.CliktCommand
|
||||
import com.github.ajalt.clikt.parameters.options.default
|
||||
import com.github.ajalt.clikt.parameters.options.option
|
||||
import com.github.ajalt.clikt.parameters.options.required
|
||||
|
||||
import java.nio.file.Files
|
||||
import java.nio.file.Path
|
||||
import java.nio.file.Paths
|
||||
|
||||
@@ -32,7 +32,6 @@ class GithubMilestoneReport : CliktCommand() {
|
||||
private val milestone: Int? by option("-m", help = "Milestone number. Default: latest milestone.").int()
|
||||
|
||||
override fun run() {
|
||||
|
||||
// connect to GitHub
|
||||
val github: GitHub = GitHub.connectAnonymously()
|
||||
val ghRepository: GHRepository = github.getUser(user).getRepository(project)
|
||||
|
||||
Reference in New Issue
Block a user