Bug Description
Phoenix defines routes which are dispatched to controller:functions.
In these modules, it sets use MyAppWeb, :controller
The functions expect 2 arguments:
This rule warns when ignoring the second:
def counters(conn, _params) do
To Reproduce
Ignore the second argument in a controller function in a Phoenix app.
Expected Behavior
Or ignore those or clarify if those should be manually ignored
Bug Description
Phoenix defines routes which are dispatched to controller:functions.
In these modules, it sets
use MyAppWeb, :controllerThe functions expect 2 arguments:
This rule warns when ignoring the second:
To Reproduce
Ignore the second argument in a controller function in a Phoenix app.
Expected Behavior
Or ignore those or clarify if those should be manually ignored