https://github.com/dvcol/stylelint-plugin-presets
Basic presets for stylelint
https://github.com/dvcol/stylelint-plugin-presets
library stylelint stylelint-config stylelint-plugin
Last synced: 5 months ago
JSON representation
Basic presets for stylelint
- Host: GitHub
- URL: https://github.com/dvcol/stylelint-plugin-presets
- Owner: dvcol
- License: mit
- Created: 2022-04-16T18:15:52.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2026-01-10T01:33:05.000Z (5 months ago)
- Last Synced: 2026-01-10T23:36:52.543Z (5 months ago)
- Topics: library, stylelint, stylelint-config, stylelint-plugin
- Language: JavaScript
- Homepage:
- Size: 321 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# stylelint-plugin-presets
Basic presets for stylelint
## Installation
You'll first need to install [stylelint](https://stylelint.io/):
```sh
npm i stylelint --save-dev
```
Next, install `@dvcol/stylelint-plugin-presets`:
```sh
npm install @dvcol/stylelint-plugin-presets --save-dev
```
And potentially some additional dependencies depending on the preset
```sh
npm install postcss postcss-scss postcss-html prettier --save-dev
```
## Usage
Add `@dvcol/stylelint-plugin-presets/config/` to the extend array of your .stylelintrc config file
```json
{
"extends": [
"@dvcol/stylelint-plugin-presets/config/scss"
]
}
```