Skip to content

Commit

Permalink
feat: add blade-formatter (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
shurizzle authored Oct 13, 2023
1 parent 64a8956 commit f90b222
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lua/conform/formatters/blade-formatter.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
local util = require("conform.util")
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://github.com/shufo/blade-formatter",
description = "An opinionated blade template formatter for Laravel that respects readability.",
},
command = "blade-formatter",
args = { "--stdin" },
stdin = true,
cwd = util.root_file({ "composer.json", "composer.lock" }),
}

0 comments on commit f90b222

Please sign in to comment.