Sharable stylelint config used by GitHub's CSS
A sharable stylelint config object that enforces GitHub's CSS rules
$ npm install --save --dev @primer/stylelint-config
Within your stylelint config object You can extend this configuration. This will serve as a base for your config, then you can make overrides in your own config object:
{
"extends": ["@primer/stylelint-config"],
"rules": { }
}
Primer Stylelint Config extends the stylelint-config-standard configuration supplied by Stylelint, and makes modifications in /index.js
.
&
).box-shadow
.width
and min-width
that is larger than the minimum browser size supported. 320px