You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Match files starting with dot in "mix format" (#7697)
Here is the example `.formatter.exs` file given in the
documentation of `mix format`:
[
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"]
]
With the previous implementation, the `.formatter.exs` file would
not be formatted because internally `Path.wildcard/2` was used
without expanding files starting with dot ".":
iex> Path.wildcard("{mix,.formatter}.exs")
["mix.exs"]
iex> Path.wildcard("{mix,.formatter}.exs", match_dot: true)
[".formatter.exs", "mix.exs"]
Signed-off-by: José Valim <[email protected]>
0 commit comments