Prettier is great, but it breaks up my javascript object into multiple lines, like so:
<Text
style={
styles.chineseText
}
>
{
this.state
.housePayload
.sitMountain
.chinese
}
</Text>
I'd like the result to be something along the lines of :
<Text
style={
styles.chineseText
}
>
{ this.state.housePayload.sitMountain.chinese }
</Text>
How can I make this happen? My current config file is:
{
"trailingComma": "es5",
"tabs": true,
"tabWidth": 4,
"semi": false,
"singleQuote": true
}