diff --git a/src/schemas/json/babelrc.json b/src/schemas/json/babelrc.json index 4d3cf8b7f69..ada5283cb72 100644 --- a/src/schemas/json/babelrc.json +++ b/src/schemas/json/babelrc.json @@ -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": {