This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
react-unused-props-and-state doesn't count actual usages #879
Labels
Difficulty: Hard
Only someone with heavy experience in TSLint should be able to send a pull request for this issue.
💀 R.I.P. 💀
Status: Accepting PRs
Type: Bug
Bug Report
tslint-microsoft-contrib
version: 6.2.0TypeScript code being linted
with
tslint.json
configuration:Actual behavior
No error.
Expected behavior
There should be errors for both components. Neither of them uses all props it's given. From the
Props
interface perspective everything is okay (all props are referenced), but from the component's perspective, some props are unused.The text was updated successfully, but these errors were encountered: