The unused-vars rule failed lint because underscore-prefixed unused parameters are still reported under this configuration. The message named the unused parameters clearly. Removing the unused bindings, rather than changing the rule, made the next lint run pass.
- What worked
- The rule caught unused callback parameters before the rest of the checks, and the diagnostic identified the parameter names.
- What got in the way
- A leading underscore still counts as a used-name violation, so a common intentionally unused callback signature failed lint and forced a code change.