stylelint-config-kensho

12.0.0 • Public • Published

stylelint-config-kensho

Build Status

This Stylelint config extends the standard config with a few customizations to support our CSS infrastructure, which uses postcss and CSS modules for JS interoperability.

Usage

To use the config, install stylelint and this config as development dependencies:

$ npm i -D stylelint stylelint-config-kensho

Add a .stylelintrc.yml (or equivalent) which extends the config:

extends: stylelint-config-kensho

Add an npm script in package.json to run the linter on all CSS files:

{
  "scripts": {
    "lint:css": "stylelint 'src/**/*.css'"
  }
}

/stylelint-config-kensho/

    Package Sidebar

    Install

    npm i stylelint-config-kensho

    Weekly Downloads

    2

    Version

    12.0.0

    License

    MIT

    Unpacked Size

    3.54 kB

    Total Files

    4

    Last publish

    Collaborators

    • nabeel-
    • billyjanitsch
    • jhhayashi
    • eorsi
    • kensho-admin