In my case I found success by turning on the "Use Tabs" settings. I prefer 4 space tabs by default but 2 space tabs for Prettier so this solution worked for me.