jsx-eslint / eslint-plugin-react

React-specific linting rules for ESLint
MIT License
8.86k stars 2.75k forks source link

Add JSDoc type annotations #3732

Closed y-hsgw closed 2 months ago

y-hsgw commented 2 months ago

Adds JSDoc annotations to rules where type changes are unnecessary, as discussed in https://github.com/jsx-eslint/eslint-plugin-react/pull/3731#discussion_r1556778045

ljharb commented 2 months ago

Is this a duplicate of #3731?

y-hsgw commented 2 months ago

Is this a duplicate of #3731?

Yes. The change in #3731 was not a simple annotation change, so this PR added annotations only to rules that did not require a type change.