Is there a way to configure ESLint's no-unused-vars rule to show unused variables as errors except if they are function args show them as warnings?
Something like:
{
"rules": {
"no-unused-vars": ["error", { "vars": "all", "args": "none" }],
"no-unused-vars": ["warn", { "vars": "none", "args": "all" }],
}
}