When I save my Vue JS component in VSCode the template code shown below is split from a single line into two or more, depending on the length of the "Load Depot.." string.
Sometimes, depending on the length of the string it splits in the middle of the quotes and breaks my code.
I have both ESLint or Prettier enabled in the project, but I don't know which one is responsible for this and how to fix it.
<h4>Depot Edit - {{ route.params.code }}, {{ depotStore.currentDepot ? depotStore.currentDepot.name : "Loading..." }} </h4>
This receives a line break in an inconvenient location
<h4>Depot Edit - {{ route.params.code }}, {{ depotStore.currentDepot ? depotStore.currentDepot.name : "Loading
Depot..."
}} </h4>