stylelint-config-handsome
v0.3.1
Published
Handsome stylelint shareable config
Downloads
2
Maintainers
Readme
stylelint-config-handsome
🤘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](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)
History
- 0.2.1: Update dependencies
- 0.1.0: Init version