@g123jp/stylelint-config-recommended
v0.0.3
Published
Stylelint config for frontend projects with scss and prettier
Downloads
124
Readme
@g123jp/stylelint-config-recommended
Stylelint config for frontend projects with scss(sass) and prettier
1. install
yarn add -D @g123jp/stylelint-config-recommended
with
- prettier
- sass
- stylelint
- stylelint-config-idiomatic-order
- stylelint-config-prettier
- stylelint-config-recommended
- stylelint-order
- stylelint-prettier
- stylelint-scss
yarn add -D prettier sass stylelint stylelint-config-idiomatic-order stylelint-config-prettier stylelint-config-recommended stylelint-order stylelint-prettier stylelint-scss
2. usage
- package.json
{
"scripts": {
"fix:css": "stylelint --fix \"./src/**/*.scss\"",
"lint:css": "stylelint --cache \"./src/**/*.scss\"",
}
}
- .stylelintrc.json
{
"extends": [
"@g123jp/stylelint-config-recommended"
]
}
3. ref
test the package locally: yarn link