Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix: no-restricted-syntax - correct the schema (#12051)
  • Loading branch information
bradzacher authored and aladdin-add committed Aug 12, 2019
1 parent fbec99e commit cf31dab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rules/no-restricted-syntax.js
Expand Up @@ -21,7 +21,7 @@ module.exports = {

schema: {
type: "array",
items: [{
items: {
oneOf: [
{
type: "string"
Expand All @@ -36,7 +36,7 @@ module.exports = {
additionalProperties: false
}
]
}],
},
uniqueItems: true,
minItems: 0
}
Expand Down

0 comments on commit cf31dab

Please sign in to comment.