Skip to content

ngcgroup/stylelint-config-ngc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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