Skip to content

Commit c1acb0f

Browse files
committed
fix: disallow extra properties in rule options
1 parent 62590fd commit c1acb0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/plugins/eslint-plugin-react-x/src/rules/no-forbidden-props.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export default createRule<Options, MessageID>({
4141
},
4242
schema: [{
4343
type: "object",
44+
additionalProperties: false,
4445
properties: {
4546
forbid: {
4647
type: "array",

0 commit comments

Comments
 (0)