
Security News
New React Server Components Vulnerabilities: DoS and Source Code Exposure
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.
commitlint-config-gitmoji
Advanced tools
shareable commitlint config enforcing gitmoji commit message
🚦 Lint your gitmoji commits
Shareable commitlint config enforcing gitmoji commit message styles. Use with commitlint .
TODO
Install dependencies
# use npm
npm i -D commitlint-config-gitmoji commitlint
or
# use pnpm
pnpm i -D commitlint-config-gitmoji commitlint
Add commitlint config for Gitmoji
echo "module.exports = {extends: ['gitmoji']};" > commitlint.config.js
the Gitmoji Structure of commit styles is below
:gitmoji: type(scope?): subject
body?
footer?
:sparkles: feat(changelog): support chinese title
:bug: fix(config): fix a subject bug
:memo: docs: update README.md
:bulb: docs(plugin): update comments
The following rules are considered problems for gitmoji commit and will yield a non-zero exit code when not met.
Consult docs/rules for a list of available rules.
type is found in valuealwaysecho ":abc: some message" # fails
echo ":feat: some message" # passes
type is in case valuealwayslowerCaseecho ":ART: Format some code" # fails
echo ":art: Format some code" # passes
type is emptyneverecho ": some message" # fails
echo ":fire: Delete some file" # passes
scope is in case valuealwayslowerCaseecho ":art:(SCOPE) some message" # fails
echo ":art:(scope) some message" # passes
subject must begin with ['sentence-case', 'start-case', 'pascal-case', 'upper-case']alwaysecho ":art:(scope) Some Message" # pass
echo ":art:(scope) some message" # Fails
subject is emptyneverecho ":art: " # fails
echo ":art: some message" # passes
subject ends with valuenever.echo ":art: some message." # fails
echo ":art: some message" # passes
header has value or less charactersalways100echo ":art: some message that is way too long and breaks the line max-length by several characters" # fails
echo ":art: some message" # passes
MIT ® Arvin Xu
FAQs
shareable commitlint config enforcing gitmoji commit message
The npm package commitlint-config-gitmoji receives a total of 48,439 weekly downloads. As such, commitlint-config-gitmoji popularity was classified as popular.
We found that commitlint-config-gitmoji 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
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.