I follow the guide to install stylelint
vscode extension, but it does not work on my computer.
I'm pretty sure that I follow all the necessary steps.
But the extention still not automatically validate the css, what is going wrong?
After reading the guide again, I found the setting stylelint.config
and understand its definition:
Set stylelint config option. Note that when this option is enabled, stylelint doesn't load configuration files.
So I look at my vscode user setting, oh, stylelint.config: {}
. After changing it to null, stylelint automatically validates the css file immediately.
Phew~