This package provides Zone's CSS style guide as an extensible shared config.
As this package is a config, you'll need to ensure you've installed any peer dependencies.
yarn add stylelint
npm i stylelint
yarn add @zonedigital/stylelint-config-zone
npm i @zonedigital/stylelint-config-zone
Add the Zone config to your stylelint config. Be sure to add as the last item.
{
"extends": [..., "@zonedigital/stylelint-config-zone"],
// ... project config here, if any ...
}Optional but recommended: Remove duplicated rules from your stylelint config.