I have prettier code formatter installed, which makes 2 spaces as a standard indentation for the code. However, indent-rainbow highlights it as a red, so it thinks that default indentaion is 4 spaces. What do I do? here is the image
I have prettier code formatter installed, which makes 2 spaces as a standard indentation for the code. However, indent-rainbow highlights it as a red, so it thinks that default indentaion is 4 spaces. What do I do? here is the image
If you installed indent-rainbow, you could remove errors color by adding these to settings.json and reload vscode.
"indentRainbow.ignoreErrorLanguages": ["*"],
"indentRainbow.colorOnWhiteSpaceOnly": true,
Hope this help.