Skip to content

Commit

Permalink
fix: resolve prettier warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
timglaser committed Jun 10, 2020
1 parent 49a7497 commit 9a39f45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/formatCode.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const formatCode = (code, formatOptions = {}) =>
singleQuote: true,
...formatOptions,
plugins: [parserBabel],
parser: 'babel',
});

export default formatCode;

0 comments on commit 9a39f45

Please sign in to comment.