@readme/stylelint-config

7.0.0 • Public • Published

@readme/stylelint-config

ReadMe coding standards for all things style-related, specifically CSS and SCSS.

npm Build

Installation

# Install the config as a dev dependency.
npm install --save-dev @readme/eslint-config

Peer dependencies

You need to additionally install Stylelint and PostCSS into your project. These are peer dependencies of @readme/stylelint-config, which can conveniently be installed either manually or using install-peerdeps.

# Install with "install-peerdeps"
npx install-peerdeps --dev @readme/stylelint-config
# Install manually
npm install --save-dev stylelint postcss

Usage

Create a stylelint.config.js file with the following contents:

module.exports = {
  extends: '@readme/stylelint-config',
};

Testing

# Run unit tests
npm run test
# Run unit tests in watch mode
npm run test -- --watch

Extended configs

We've adopted the following list of shared configs that remain actively maintained by the broader developer community.

/@readme/stylelint-config/

    Package Sidebar

    Install

    npm i @readme/stylelint-config

    Weekly Downloads

    200

    Version

    7.0.0

    License

    MIT

    Unpacked Size

    34.9 kB

    Total Files

    10

    Last publish

    Collaborators

    • llimllib
    • darrenyong
    • gratcliff
    • dannobytes
    • gkoberger
    • domharrington
    • mjcuva
    • kanadgupta
    • jonursenbach
    • rafegoldberg
    • dashron
    • iliast