Home

Awesome

coc-stylelint

Stylelint language server extension for coc.nvim.

Inspired by vscode-stylelint

Install

In your vim/neovim run command:

:CocInstall coc-stylelint

Usage

stylelint automatically validates documents with these filetypes:

Extension settings

Though it's highly recommended to add a stylelint configuration file to the current workspace folder instead, the following extension settings are also available.

stylelint.enable

Type: boolean Default: true

Control whether this extension is enabled or not.

stylelint.configOverrides

Type: Object Default: null

Set stylelint configOverrides option.

stylelint.config

Type: Object Default: null

Set stylelint config option. Note that when this option is enabled, stylelint doesn't load configuration files.

License

MIT