aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/tlint.lua
blob: b1f34e6f2f1e63c900ef45cbcf037fb3aa47b11a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
local util = require("conform.util")

---@type conform.FileFormatterConfig
return {
  meta = {
    url = "https://github.com/tighten/tlint",
    description = "Tighten linter for Laravel conventions with support for auto-formatting.",
  },
  command = util.find_executable({
    "vendor/bin/tlint",
  }, "tlint"),
  args = { "format", "$FILENAME" },
  stdin = false,
}