A Visual Studio Code extension to lint CSS/SCSS with stylelint
- Run
Install Extension
command from Command Palette. - Search and choose
stylelint
.
See the extension installation guide for details.
Enable the linter in the VS Code settings.
{
"stylelint.enable": true
}
In addition to the VS Code settings mentioned below, you can set the config by adding stylelint configuration files to the workspace directory.
Type: Boolean
Default: true
Control whether stylelint is enabled for CSS/SCSS files or not.
Type: Object
Default: null
Will be directly passed to configOverrides
option.
Type: Object
Default: null
Will be directly passed to config
option. Note that if you set config
option, this plugin ignores all the stylelint configuration files.
Copyright (c) 2015 - 2016 Shinnosuke Watanabe
Licensed under the MIT License.