stylelint-config-yuanqing
v0.0.7
Published
An opinionated Stylelint configuration
Downloads
81
Readme
stylelint-config-yuanqing
An opinionated Stylelint configuration
Features
- Auto-formatting with Prettier
- Auto-sorting of properties following a rational order
Usage
Install:
$ npm install --save-dev prettier@3 stylelint@16
$ npm install --save-dev --save-exact stylelint-config-yuanqing
Then, update package.json
as follows:
{
"scripts": {
"fix-css": "stylelint --fix 'src/**/*.css'",
"lint-css": "stylelint 'src/**/*.css'"
},
"stylelint": {
"extends": "stylelint-config-yuanqing"
}
}