Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unknown word (CssSyntaxError)stylelint(CssSyntaxError)

stylelint error

I was working on the frontend to build a React app. Then I added the backend file. I simply wanted to connect the frontend to the backend, and now I see this error on every page.

Unknown word (CssSyntaxError)stylelint(CssSyntaxError)

How can I solve this issue?

like image 368
Sultan Ahmet Avatar asked Dec 31 '25 21:12

Sultan Ahmet


2 Answers

Check if you have any other stylelint extensions installed like stylelint-plus. Uninstall it and install the official stylelint. That worked for me.

like image 134
Piotr Weles Avatar answered Jan 02 '26 09:01

Piotr Weles


for those seeing this problem in the IDE, particularly VS Code. This is a more detailed solution, even though Piotr Weles' answer is already concise and correct.

  1. Go to your extensions Tab
  2. Type @installed lint and you should see something like this. stylelint official extension this is the official extension, so we want to keep this one, but if you also have other extensions i.e. stylelint-plus etc, you should uninstall them
  3. Click Restart Extensions
  4. Enjoy!!
like image 28
Rob Avatar answered Jan 02 '26 10:01

Rob