blob: 970d0efd71573c4b4b34650ac710cd1093cdf9f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://hexdocs.pm/mix/main/Mix.Tasks.Format.html",
description = "Format Elixir files using the mix format command.",
},
command = "mix",
args = { "format", "--stdin-filename", "$FILENAME", "-" },
cwd = require("conform.util").root_file({
".formatter.exs",
"mix.exs",
}),
}
|