3 ms·
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 realisi
by tymscar 10mo ago
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.
- deleted 10mo ago[deleted]
- Hasnep 10mo agoThis 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.
- pdimitar 10mo agoElixir has one opinionated formatter -- Quokka -- that will rewrite the code above properly. It can also reuse linting rules as rewrite policies. Love using it.