@dvcol/stylelint-plugin-presets
v2.1.2
Published
Basic presets for stylelint
Downloads
443
Maintainers
Readme
stylelint-plugin-presets
Basic presets for stylelint
Installation
You'll first need to install stylelint:
npm i stylelint --save-dev
Next, install @dvcol/stylelint-plugin-presets
:
npm install @dvcol/stylelint-plugin-presets --save-dev
And potentially some additional dependencies depending on the preset
npm install postcss postcss-scss postcss-html prettier --save-dev
Usage
Add @dvcol/stylelint-plugin-presets/config/<preset>
to the extend array of your .stylelintrc config file
{
"extends": [
"@dvcol/stylelint-plugin-presets/config/scss"
]
}