Matt Enlow
Matt Enlow
@lau have you seen this? looks great
> Is this for CI systems? Both in CI and on a dev's machine. > Do you get an error when running `mix hex.auth` or do the subsequent `mix deps.get`...
I was able to get my transformations done with the options provided to `to_string`, but agreed it'd be much easier if elixir/mix had a tool for getting that information out...
to expand on the snippet above, i played with removing the `is_integer/is_float` from one or the other clause and still got the same warning, so having both isn't necessary -...
Since 1.13 Elixir exposes `Mix.Tasks.Format.formatter_for_file/1`, which can be used to parse a `.formatter.exs`, grab the options, and pass them to `Sourceror.to_string/2` =)
the credo example docs make it look like it'll always be easy to combine a filter-filter, buuut there's a reason styler doesn't implement this rule... ```elixir # Not so easy...
an example of why we wouldn't want to do this: ``` get("/request_anonymization", UserController, :request_anonymization) get("/cancel_anonymization", UserController, :cancel_anonymization) ``` sure, it would've been better if the author had done `get "/anonymization/request"`...
thanks zimt! i noticed that too recently and kind of scratched my head as to why every other directive block gets a newline after it but moduledoc doesn't... someone else...
Sure, I'm not suggesting you change the cited refactor, but rather the name 🤔 i never think of myself doing a "replace a pipeline with a function call" apart from...
>In summary, this refactoring aims to reduce the number of functions in a pipeline by using built-in functions that perform the same task but with less code volume and greater...