summaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/shellcheck.lua
blob: f478d52fa7b6afbec3420e85dad3bc1028ca60bd (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,
}