'Equivalent of noUnusedParameters in @typescript-eslint
I'm trying to improve developers' experience of a React+TS project. I find noUnusedLocals and noUnusedParameters quite useful for the project but these rules complicate development and, especially, debug process more often than never. That's why I try to disable them on the compiler level but keep them in linter.
Apparently TypeScript Eslint plugin provides @typescript-eslint/no-unused-vars as an alternative to noUnusedLocals.
But I'm struggling to find a proper alternative to noUnusedParameters. Which could be helpful to catch unused class properties and methods. Is there any way to catch unused parameters in linter or at least to decrease its severity on compiler level?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
