Skip to content

Commit

Permalink
Auto-detect parser for prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerun committed Jan 19, 2019
1 parent 31ddf1e commit eb712f2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ async function format (input, flags) {
const binPath = path.join(prettierPath, 'bin-prettierx.js')
process.argv = process.argv.slice(0, 1)
process.argv.push(binPath)
process.argv.push('--parser', 'babel')
process.argv.push('--config-precedence', 'file-override')
process.argv.push('--generator-star-spacing')
process.argv.push('--space-before-function-paren')
Expand Down

0 comments on commit eb712f2

Please sign in to comment.