Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@alexmarqs/commitlint-config
Advanced tools
Shareable commitlint
config used in personal projects.
# Install commitlint-config
npm install -D @alexmarqs/commitlint-config @commitlint/cli
# or
yarn add -D @alexmarqs/commitlint-config @commitlint/cli
After installing it, apply the config to commitlint
by running the following command:
# Note: configuration is picked up from commitlint.config.js, .commitlintrc.js, .commitlintrc.json, or .commitlintrc.yml file or a commitlint field in package.json
echo "module.exports = { extends: ['@alexmarqs/commitlint-config'] };" > .commitlintrc.js
To lint commits before they are created you can use install Husky and use the commit-msg
hook:
# Install Husky
npm install husky -D
# or
yarn add husky -D
# Activate hooks (you can configure this in the 'prepare' life cycle script)
npx husky install
# or
yarn husky install
# Add hook
npx husky add .husky/commit-msg 'npx --no-install commitlint --edit "$1"'
# or
yarn husky add .husky/commit-msg 'yarn commitlint --edit $1'
For version 4 and under of Husky use the following instructions instead in your package.json
:
// package.json
{
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}
MIT License © alexmarqs
FAQs
Personal shareable commitlint config
We found that @alexmarqs/commitlint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.