Moved to monorepo: AndrewLeedham/vscode-extensions
An extension to add CSS Modules syntax highlighting to VSCode.
Adds the following CSS Modules specific rule and attribute syntax highlighting on top of regular CSS/SCSS/SASS.
@valuevariable decleration: regular and namespaced.composes:attribute: local and imports.:globalpseudo class.:localpseudo class.
Currently this extension only supports syntax highlighting. So errors may be thrown if you are using somesort of linter. A suggested work-around is to add the following settings to your workspace:
{
"css.lint.validProperties": [
"composes"
],
"css.lint.unknownAtRules": "ignore",
"scss.lint.validProperties": [
"composes"
],
"scss.lint.unknownAtRules": "ignore"
}