I wanted this feature recently as with the addition of the heex formatter I
wanted to format most of an app, but not one file temporarily due to a
whitespace wrapping issue (thats getting addressed :)) but still wanted the
rest of the app formatted.
So I'm in favour.
Cheers
Jon
On Tue, 26 Apr
Hello everyone,
Currently, the only way to exclude files from the formatter is to do
something like this:
[
inputs:
Enum.flat_map(
["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"],
&Path.wildcard(&1, match_dot: true)
) -- Path.wildcard("test/example_app
> I'm sure there is the opinion that this is anti-pattern
Yup. Side stepping this a bit though and getting to something deeper: This
does not seem like it needs to be part of the standard library. You could
make a library called GenServerWithExceptions or something and put it up on
hex, and see