Didi
Didi

Reputation: 461

How can I configure Prettier to produce same result as a js-beautify config?

How can I configure Prettier to produce this same result?

js-beautify -r -n -u -b collapse,preserve-inline "$@"

This is what I currently have in my .prettierrc

    "bracketSpacing": true,
    "semi": false,
    "singleQuote": true,
    "trailingComma": "es5",
    "printWidth": 100,
    "tabWidth": 4
}```

Upvotes: 0

Views: 168

Answers (0)

Related Questions