Skip to content

Commit

Permalink
feat: add ktlint (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
shurizzle authored Oct 16, 2023
1 parent 7027ebb commit 8b02f47
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lua/conform/formatters/ktlint.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://ktlint.github.io/",
description = "An anti-bikeshedding Kotlin linter with built-in formatter.",
},
command = "ktlint",
args = { "--format", "--stdin", "--log-level=none" },
}

0 comments on commit 8b02f47

Please sign in to comment.