Skip to content

Commit

Permalink
Add babelrc preset array item type (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
torifat authored and madskristensen committed Mar 17, 2017
1 parent 83e9159 commit 0992938
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/schemas/json/babelrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@
"description": "List of presets (a set of plugins) to load and use",
"type": "array",
"items": {
"type": "string"
"type": ["string", "array"],
"items": {
"description": "the preset name in .[0] and the options object in .[1]",
"type": ["string", "object"]
}
}
},
"retainLines": {
Expand Down

0 comments on commit 0992938

Please sign in to comment.