Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.05 KB

README.md

File metadata and controls

21 lines (14 loc) · 1.05 KB

GDQ's stylelint-config npm Build Status

Our re-usable config for the Stylelint CSS linter.

Usage

  1. Install this config as a devDependency:

    npm i -D @gamesdonequick/stylelint-config
  2. Follow the instructions here to use or extend our config: https://stylelint.io/user-guide/configuration#extends

  3. This package actually includes multiple configs. One base config, and one that has some rules specific to PostCSS. You can pick and choose what parts you wish to use. To use both, your config might look like this:

    module.exports = {
      extends: ['@gamesdonequick/stylelint-config', './node_modules/@gamesdonequick/stylelint-config/postcss'],
    };