Use _ maybe
doesn't work. (It's not Golang :D)
I know lol... But it works for me in case of unused var
If it's ESLint add this to rules "no-unused-vars": ["error", { "args": "after-used"}]
It's eslint for sure
Does it ignore all unused variables?
Nah, just works for your case
Only if there followed by used params
Converting your rule to YAML :P
Обсуждают сегодня