blob: 13c966d24b1903d6c98eede12ac86aeaa2c84854 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
local util = require("conform.util")
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://github.com/Riverside-Healthcare/djLint",
description = "✨ HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang.",
},
command = "djlint",
args = function(_, ctx)
return { "--reformat", "--indent", ctx.shiftwidth, "-" }
end,
cwd = util.root_file({
".djlintrc",
}),
}
|