Currently using prettier to help format some JS code I am writing, and I don’t really like how it auto-formats this fetch function on file save:
const result = await fetch(
`https://api.spotify.com/v1/browse/categories/${genreId}/playlists?limit=${limit}`,
{
method: "GET",
headers: { Authorization: "Bearer " + token },
}
)
I would like to change it (If possible) to format like this:
const result = await fetch(`https://api.spotify.com/v1/browse/categories/${genreId}/playlists?limit=${limit}`, {
method: "GET",
headers: { Authorization: "Bearer " + token },
})
I went through the extension settings and couldn’t really find anything particularly helpful.
Anyone able to help/let me know if this is or is not possible?