summaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/shellcheck.lua
blob: 3ceb7a5b7bcc681a52dcf9e0efa3bb3e57fbd9ba (plain)
1
2
3
4
5
6
7
8
9
10
---@type conform.FileFormatterConfig
return {
  meta = {
    url = "https://github.com/koalaman/shellcheck",
    description = "A static analysis tool for shell scripts.",
  },
  command = "shellcheck",
  args = "$FILENAME --format=diff | patch -p1 $FILENAME",
  stdin = false,
}