'VSCODE rearanges html classNames
my VSCODE (probably prettier) changes the class names I give to HTML elements. For example, this classname:
<a className="border-green-300 rounded mr-2 border-b-2 ">
turns into this:
<a className="m-5 rounded-lg border-b-2 border-green-300">
This is quite annoying as I sometimes check my second screen to see how a setting turns out (I use TailwindCSS) and if I don't like something I quickly remove it, but since it was already rearranged I just removed another class. Is there a setting to disable this? I can not find it.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
