Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@yiluhub/commitlint-config
Advanced tools
Installs commitlint, husky, lint-stage, cz-conventional-changelog and exports commitlint configuration.
# cd into your project
cd your-awesome-project
# install the package as a devDependency
yarn add --dev @yiluhub/commitlint-config
# if you don't have a .commitlintrc copy into your project this file
frontend-shared-packages/templates/.commitlintrc.js
# if you do have already a .commitlintrc, use the following configuration and you can ovveride any rules you want
{
extends: ['@yiluhub/commitlint-config'],
rules: {
...your rules will override the default ones.
}
}
# in your package.json make sure you have these configurations
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $GIT_PARAMS"
}
}
Package | Version |
---|---|
@commitlint/cli | ^7.1.1 |
@commitlint/config-angular | ^7.1.1 |
@commitlint/travis-cli | ^7.1.1 |
cz-conventional-changelog | ^2.1.0 |
husky | ^1.0.0-rc.13 |
lint-staged | ^7.2.2 |
FAQs
Shared commitlint configuration
The npm package @yiluhub/commitlint-config receives a total of 0 weekly downloads. As such, @yiluhub/commitlint-config popularity was classified as not popular.
We found that @yiluhub/commitlint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.