Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neoclide/coc-stylelint
Stylelint language server extension for coc.nvim
https://github.com/neoclide/coc-stylelint
coc neovim stylelint vim
Last synced: about 11 hours ago
JSON representation
Stylelint language server extension for coc.nvim
- Host: GitHub
- URL: https://github.com/neoclide/coc-stylelint
- Owner: neoclide
- Created: 2018-09-06T02:43:31.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-17T10:23:13.000Z (almost 4 years ago)
- Last Synced: 2024-08-02T18:39:28.286Z (3 months ago)
- Topics: coc, neovim, stylelint, vim
- Language: JavaScript
- Size: 174 KB
- Stars: 43
- Watchers: 4
- Forks: 3
- Open Issues: 9
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
- awesome-stylelint - coc-stylelint - Neovim. language server extension. (Editor integrations)
README
# coc-stylelint
Stylelint language server extension for [coc.nvim](https://github.com/neoclide/coc.nvim).
Inspired by [vscode-stylelint](https://github.com/shinnn/vscode-stylelint)
## Install
In your vim/neovim run command:
```sh
:CocInstall coc-stylelint
```## Usage
stylelint automatically validates documents with these `filetypes`:
- `css`
- `wxss`
- `scss`
- `less`
- `postcss`
- `sugarss`
- `vue`## Extension settings
Though it's highly recommended to add a [stylelint configuration file](https://stylelint.io/user-guide/example-config/) to the current workspace folder instead, the following extension [settings](https://code.visualstudio.com/docs/getstarted/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`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#configoverrides) option.
#### stylelint.config
Type: `Object`
Default: `null`Set stylelint [`config`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#config) option. Note that when this option is enabled, stylelint doesn't load configuration files.
## License
MIT