primer / stylelint-config

Sharable stylelint config used by GitHub's CSS

Home Page:https://primer.style/css/tools/linting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Sharable stylelint config used by GitHub's CSS

https://primer.style/css/tools/linting

License:MIT License


Languages

Language:JavaScript 71.3%Language:SCSS 12.8%Language:CSS 11.4%Language:TypeScript 4.5%