Any way to automatically prefix unused variables with underscore?

I’ve jumped back into my first Elixir project and noticed that there are a lot of unused variable warnings. Is there a script that might be able to prefix with an underscore en masse?

Additionally, I tend to use quite a few unused variables in test files. This is usually when creating multiple records via factory and then testing that a filter matches only some of those records. I often forget to prefix with underscore on the variables that are not intended to be part of the filter. I do like giving them variable names so that it is easy for me to see why the test factory record was created. Should/could the mix formatter automatically prefix these unused variables?

Found an answer to this question on this forum. Appears the answer is “no”… autofix compiler warnings