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

fix: disallow extra properties in rule options

Open andreww2012 opened this issue 4 months ago • 0 comments

Some rules, for example forbid-component-props currently allow extra properties to be passed in options object, which should not be allowed. This makes it easier for typos in rule options to go unnoticed.

This PR simply disallows extra properties in rules' schemas which currently allow them.

andreww2012 avatar Jul 17 '25 07:07 andreww2012