Skip to content

Commit

Permalink
Refine schema for forbid-dom-props options
Browse files Browse the repository at this point in the history
  • Loading branch information
davazp committed Nov 24, 2017
1 parent 28654e2 commit 268a704
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/rules/forbid-dom-props.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ module.exports = {
forbid: {
type: 'array',
items: {
type: 'string'
}
type: 'string',
minLength: 1
},
uniqueItems: true
}
},
additionalProperties: true
additionalProperties: false
}]
},

Expand Down

0 comments on commit 268a704

Please sign in to comment.