🤘Handsome stylelint config. Enforces strict and readable code.🤘
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.
By npm:
npm i stylelint-config-handsome --save-dev
By yarn:
yarn add -D stylelint-config-handsome
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
Add this to your package.json
file:
{
"stylelint": {
"extends": "stylelint-config-handsome"
}
}
Add this to your stylelint configuration file such as .stylelintrc
:
{
"extends": "stylelint-config-handsome"
}
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](https://img.shields.io/badge/stylelint-handsome-brightgreen.svg)](https://github.com/poppinlp/stylelint-config-handsome)
[![flat badge](https://img.shields.io/badge/stylelint-handsome-brightgreen.svg?style=flat-square)](https://github.com/poppinlp/stylelint-config-handsome)
- 0.2.1: Update dependencies
- 0.1.0: Init version