diff options
author | Frederik Buchlák <30214087+fbuchlak@users.noreply.github.com> | 2023-10-27 14:26:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-27 07:26:49 -0700 |
commit | 253878436e2b6d73dfd91ccf0ac12d04cc683d34 (patch) | |
tree | efa8acb9130344b138303f2734dcc262a6c5aa2e /lua/conform/formatters | |
parent | 4653408d5c270168e31ffd0585d1cf2de27fc827 (diff) |
feat: add tlint (#162)
* feat: add tlint
* update doc
Diffstat (limited to 'lua/conform/formatters')
-rw-r--r-- | lua/conform/formatters/tlint.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lua/conform/formatters/tlint.lua b/lua/conform/formatters/tlint.lua new file mode 100644 index 0000000..b1f34e6 --- /dev/null +++ b/lua/conform/formatters/tlint.lua @@ -0,0 +1,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, +} |