Skip to content

Commit b42e9c7

Browse files
committed
Require unique whitelist entries
1 parent 2cf3737 commit b42e9c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/rules/forbid-component-props.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ module.exports = {
4141
},
4242
allowedFor: {
4343
type: 'array',
44+
uniqueItems: true,
4445
items: {
4546
type: 'string'
4647
}

0 commit comments

Comments
 (0)