Skip to content

Commit f1125f8

Browse files
fix(elixir mix): run formatter from project root (#576)
the current folder should be the project folder. There could be per-subfolder formatter.exs files but you're not meant to run the formatter from such folders.
1 parent 8a36441 commit f1125f8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lua/conform/formatters/mix.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ return {
77
command = "mix",
88
args = { "format", "--stdin-filename", "$FILENAME", "-" },
99
cwd = require("conform.util").root_file({
10-
".formatter.exs",
1110
"mix.exs",
1211
}),
1312
}

0 commit comments

Comments
 (0)