Why visual studio code show me this Error
CodePudding user response:
Hovering over the red underline should give you a hint of what the error is. You can also check the Output with Ctrl J and clicking output, then selecting either prettier or eslint or whichever extension might be giving you the error and find more information.
CodePudding user response:
Looks like your linter has picked up on some trailing spaces.
Place your cursor next to one of the red lines and press the following for quick fixes
CTRL .
Either that or remove any trailing spaces you have