Re:Starting a TypeScript Project in 2021
by maga on Wednesday April 21, 2021 @11:29AM
(#26890944)
tsconfig's noUnusedLocals can help you with the last one.
[ Parent
| on HN ]
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...
That's configurable in the rule though.
https://eslint.org/docs/rules/no-unused-vars#varsignorepatte...