stylelint-config-handsome v0.3.1
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-devBy yarn:
yarn add -D stylelint-config-handsomeUsage
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.jsonfile - 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.
[](https://github.com/poppinlp/stylelint-config-handsome)[](https://github.com/poppinlp/stylelint-config-handsome)History
- 0.2.1: Update dependencies
- 0.1.0: Init version