skip to Main Content

enter image description herethere is a red line showing in my html boilerplate VScode. this shows when I hover over it (Unknown word (CssSyntaxError)stylelint(CssSyntaxError).
Beginner level stuff I know but will be glad if someone can help

tried to google about css syntax error, re-installed vs code and used the debug option within.

UPDATE: I just uninstalled styleLint and styleLint plus extensions and the error appears to be gone

2

Answers


  1. check the typing codes.check the CSS syntax and Stylelint configuration is stored in a .stylelintrc file in your project root directory. check it.

    Login or Signup to reply.
  2. Open Visual Studio Code.
    Go to the Extensions view by clicking on the square icon in the sidebar or pressing Ctrl+Shift+X.
    In the search bar, type "HTML" and look for an extension that provides HTML language support. One popular extension is simply called "HTML" and is provided by Visual Studio Code.
    Click on the extension and then click the "Install" button.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search