stylelint-config-handsome

0.3.1 • Public • Published

stylelint-config-handsome

Build Status Code coverage Dependency Status Dev Dependency Status Peer Dependency Status NPM version NPM downloads NPM license FOSSA Status

🤘Handsome stylelint config. Enforces strict and readable code.🤘

Rules

This config aims to improve code readability which is good for team collaboration. So it's a little bit strict but not too much. You could find all rules here.

Install

By npm:

npm i stylelint-config-handsome --save-dev

By yarn:

yarn add -D stylelint-config-handsome

Usage

Shareable configs are designed to work with the extends feature of stylelint config for or stylelint field in package.json file. You can learn more about configuration on stylelint official website.

After install stylelint-config-handsome package, there's 2 ways to active it:

  • by package.json file
  • by stylelint configuration file

package.json file

Add this to your package.json file:

{
  "stylelint": {
    "extends": "stylelint-config-handsome"
  }
}

Stylelint configuration file

Add this to your stylelint configuration file such as .stylelintrc:

{
  "extends": "stylelint-config-handsome"
}

Badge

Use this in one of your projects? Include one of these badges in your README file to let people know that your code is using the handsome style.

badge

[![badge](https://img.shields.io/badge/stylelint-handsome-brightgreen.svg)](https://github.com/poppinlp/stylelint-config-handsome)

flat badge

[![flat badge](https://img.shields.io/badge/stylelint-handsome-brightgreen.svg?style=flat-square)](https://github.com/poppinlp/stylelint-config-handsome)

History

  • 0.2.1: Update dependencies
  • 0.1.0: Init version

License

FOSSA Status

Package Sidebar

Install

npm i stylelint-config-handsome

Weekly Downloads

0

Version

0.3.1

License

MIT

Unpacked Size

13 kB

Total Files

9

Last publish

Collaborators

  • poppinl