Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 580 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 580 Bytes

NGC Stylelint Config

A shareable stylelint config object that enforces NGC's CSS rules (Heavily borrowed from https://github.com/primer/stylelint-config-primer)

Install

$ yarn add stylelint-config-primer --repository "ngcgroup/stylelint-config-ngc#main"

Note: You can switch #main for a different hash, tag, or branch. Actually, you probably should do this.

Usage

In the stylelint config file for your project, extend this configuration:

  {
    "extends": "stylelint-config-ngc"
  }

Documentation

Plugins

  • stylelint-order
  • stylelint-scss