Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
city41
· 5y ago · 0 comments
And it allows you to opt out when needed by starting the variable with an underscore, which is much nicer than eslint-disable-next-line...
Comments
[–]
DEiE
5y ago
That's configurable in the rule though.
https://eslint.org/docs/rules/no-unused-vars#varsignorepatte...
[–]
city41
OP
5y ago
Ah nice, I didn't know that. Thanks.