Stylelint shareable configuration for Xerox projects.
- Install this config and stylelint as a
devDependency
:
yarn add stylelint @xerox/stylelint-config --dev
# or
npm install stylelint @xerox/stylelint-config --save-dev
- Add the following to your
package.json
:
{
// ...
"stylelint": {
"extends": "@xerox/stylelint-config"
}
// ...
}