eslint-plugin-deprecation icon indicating copy to clipboard operation
eslint-plugin-deprecation copied to clipboard

Include deprecated jsx prop checks

Open sebakerckhof opened this issue 1 year ago • 5 comments

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)

sebakerckhof avatar Jan 10 '24 13:01 sebakerckhof