stylelint-config-cheesecakelabs
This package provides Cheesecake Lab's .stylelintrc extensible shared config.
Install
with yarn:
yarn add --dev @cheesecakelabs/stylelint-config-cheesecakelabs
or with npm
npm install --save-dev @cheesecakelabs/stylelint-config-cheesecakelabs
Usage
Shareable configs are designed to work with the extends feature of .stylelintrc files. Instead of using a file path for the value of extends, use your module name.
For example:
{
"extends": "@cheesecakelabs/stylelint-config-cheesecakelabs
}
If you want to add a11y rules to your project, use:
{
"extends": "@cheesecakelabs/stylelint-config-cheesecakelabs/a11y"
}
Observations
All your prettier configurations should be in your .prettierc file.
Remember to add the css parser for css files:
{
"overrides": [
{
"files": "*.wxss",
"options": { "parser": "css" }
}
]
}