This has been driving me wild for a little while here and i can't figure it out.
I have tried setting my prettier.printWidth to 160 or 400 but it makes no difference. My environment is Vscode with prettier/vetur for Vue.
I can use // prettier-ignore above the code but that's not a solution.
How i want it to look:
// prettier-ignore
if(!this.dataFields.some((field) => this.item.field && field.text === this.item.field)) {
// Find the field in the all fields list
const foundField = this.allDataFields.find((field) => field.text === this.item.field)
How it actually looks:
if (
!this.dataFields.some(
(field) => this.item.field && field.text === this.item.field
)
) {
// Find the field in the all fields list
const foundField = this.allDataFields.find(
(field) => field.text === this.item.field
)