@primer/stylelint-config

Sharable stylelint config used by GitHub's CSS

Usage no npm install needed!

<script type="module">
  import primerStylelintConfig from 'https://cdn.skypack.dev/@primer/stylelint-config';
</script>

README

Primer Stylelint Config

npm version

A sharable stylelint config object that enforces GitHub's CSS rules

Install

$ npm install --save --dev @primer/stylelint-config

Usage

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": { }
}

Documentation

Primer Stylelint Config extends the stylelint-config-standard configuration supplied by Stylelint, and makes modifications in /index.js.

Plugins

License

MIT © GitHub