>>titano+(OP)
You're right, but loads of times I just left that there because I probably did something more involved in the map that I ended up deleting later without realising.
>>tymsca+E
This sounds like the kind of situation where the LSP could suggest the simpler code, I'll see if there's an issue for it already and suggest it if not.
>>Hasnep+CU
Elixir has one opinionated formatter -- Quokka -- that will rewrite the code above properly. It can also reuse linting rules as rewrite policies. Love using it.