Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ktlint candidate #639

Merged
merged 2 commits into from
May 7, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/main/scala/io/sdkman/changelogs/KtlintMigrations.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package io.sdkman.changelogs

import com.github.mongobee.changeset.{ChangeLog, ChangeSet}
import com.mongodb.client.MongoDatabase

@ChangeLog(order = "079")
class KtlintMigrations {
@ChangeSet(order = "001", id = "001_add_ktlint_candidate", author = "paul-dingemans")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be your GitHub username.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

def migration001(implicit db: MongoDatabase) =
Candidate(
candidate = "ktlint",
name = "ktlint",
description = "An anti-bikeshedding Kotlin linter with built-in formatter",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be displayed on our website and when running sdk list, so should be written as a paragraph or sentence with punctuation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

websiteUrl = "https://github.com/pinterest/ktlint"
).insert()
}