diff --git a/src/utils/formatCode.js b/src/utils/formatCode.js index 90426275e..b82e04b78 100644 --- a/src/utils/formatCode.js +++ b/src/utils/formatCode.js @@ -10,6 +10,7 @@ const formatCode = (code, formatOptions = {}) => singleQuote: true, ...formatOptions, plugins: [parserBabel], + parser: 'babel', }); export default formatCode;