Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>stylelintNew to Visual Studio Code? Get it now.
stylelint

stylelint

David Osorio Rodríguez

|
29,256 installs
| (9) | Free
Modern CSS/SCSS/Less linter
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-stylelint

Build Status Dependency Status devDependency Status

A Visual Studio Code extension to lint CSS/SCSS/Less with stylelint

screenshot

Installation

  1. Run Install Extension command from Command Palette.
  2. Search and choose stylelint.

See the extension installation guide for details.

Usage

Enable the linter in the VS Code settings, while disabling the built-in CSS and SCSS linter:

{
  "stylelint.enable": true,
  "css.validate": false,
  "scss.validate": false
}

Configurations

In addition to the VS Code settings mentioned below, you can set the config by adding stylelint configuration files to the workspace directory.

stylelint.enable

Type: Boolean
Default: true

Control whether stylelint is enabled for CSS/SCSS/Less files or not.

stylelint.configOverrides

Type: Object
Default: null

Will be directly passed to configOverrides option.

stylelint.config

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.

License

Copyright (c) 2015 - 2017 Shinnosuke Watanabe

Licensed under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft