eslint-plugin-deprecation
eslint-plugin-deprecation copied to clipboard
Include deprecated jsx prop checks
I noticed that this plugin does not warn for usage of deprecated jsx props. Since we needed this, I've written this plugin: https://github.com/sebakerckhof/eslint-plugin-deprecated-jsx-props
I originally started with bringing https://github.com/Drawbotics/eslint-plugin-deprecated-props up to date, but its approach is fundamentally flawed, so I ended up rewriting most of it.
Anyway, it seems to work well on our codebase, but I have no desire to maintain it and therefore I wanted to check if you're interested in adopting it as part of this plugin. I could make a PR for it if you're interested.
It has tests to ensure it works with:
- local types and interfaces
- external types and interfaces
- combined / extended types and interfaces
- spread arguments (for which we make the distinction between optional and required props)