Closed ahao430 closed 3 years ago
It uses what VSCode reports. Which means that the problem must be somewhere else.
I have got the same issue, using prettier as formatter.
I have got the same issue, using prettier as formatter.
I have the same problem, and I deal it by open VSCode Settings, find the option "Editor: Tab Size", and there are a link to "Editor: Detect Indentation" click and close it.
The project indent is 4 spaces in js, as the editorconfig and eslint config. But still colored every 2 spaces.