- Install
commitlint
and this package. - Add this configuration in your
package.json
"commitlint": {
"extends": ["theyoxy"]
}
Husky configuration is highly recommended.
Installhusky
"husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }
- Enjoy stylelint.