@readme/stylelint-config

7.0.6 • 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

Keywords

none

Package Sidebar

Install

npm i @readme/stylelint-config

Weekly Downloads

510

Version

7.0.6

License

MIT

Unpacked Size

19.8 kB

Total Files

9

Last publish

Collaborators

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