Next.js Discord

Discord Forum

CssSyntaxError In every Ts and tsx file of the Next JS project

Answered
Australian Cattle Dog posted this in #help-forum
Open in Discord
Australian Cattle DogOP
Hello everyone, I was working on my personal next js 14.1 project, everything was fine till yesterday.

Suddenly, today I was having this Unknown word (CssSyntaxError)stylelint(CssSyntaxError) in every ts and tsx file

I am using a windows 11 laptop, with VS Code
Answered by Toyger
you probabbly have https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint this extension installed in vscode, and it is either broken or incorectly configured.
you'll better get rid of it.
View full answer

2 Replies

Australian Cattle DogOP
Someone kindly help
Toyger
you probabbly have https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint this extension installed in vscode, and it is either broken or incorectly configured.
you'll better get rid of it.
Answer