
Product
Secure Your AI-Generated Code with Socket MCP
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
commitlint-config-git-commit-emoji
Advanced tools
Shareable commitlint config for the VS Code extension git-commit-plugin with emoji enabled
Shareable commitlint
config for the VS Code extension git-commit-plugin with emoji enabled.
Use with commitlint.
npm install --save-dev @commitlint/cli commitlint-config-git-commit-emoji
echo "module.exports = {extends: ['git-commit-emoji']};" > .commitlintrc.js
<emoji> <type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>
β¨ feat(blog): add comment section
The following rules are considered problems for commitlint-config-git-commit-emoji
and will yield a non-zero exit code when not met.
Consult docs/rules for a list of available rules.
type
is found in valuealways
[
'π init',
'β¨ feat',
'π fix',
'π docs',
'π style',
'π¦ refactor',
'π perf',
'π§ͺ test',
'π§ build',
'π ci',
'π³ chore',
'β© revert',
]
echo "foo: some message" # fails
echo "π fix: some message" # passes
type
is in case value
always
'lowerCase'
echo "FIX: some message" # fails
echo "π fix: some message" # passes
type
is emptynever
echo ": some message" # fails
echo "π fix: some message" # passes
scope
is in case value
always
'lowerCase'
echo "π fix(SCOPE): some message" # fails
echo "π fix(scope): some message" # passes
subject
is in one of the cases ['sentence-case', 'start-case', 'pascal-case', 'upper-case']
never
echo "π fix(SCOPE): Some message" # fails
echo "π fix(SCOPE): Some Message" # fails
echo "π fix(SCOPE): SomeMessage" # fails
echo "π fix(SCOPE): SOMEMESSAGE" # fails
echo "π fix(scope): some message" # passes
echo "π fix(scope): some Message" # passes
subject
is emptynever
echo "π fix:" # fails
echo "π fix: some message" # passes
subject
ends with value
never
'.'
echo "π fix: some message." # fails
echo "π fix: some message" # passes
subject
must not have a !
before the :
markernever
The angular commit
convention
dose not use a !
to define a breaking change in the commit subject. If you
want to use this feature please consider using the conventional commit
config.
header
has value
or less charactersalways
72
echo "π fix: some message that is way too long and breaks the line max-length by several characters" # fails
echo "π fix: some message" # passes
always
echo "π fix: some message
body" # fails
echo "π fix: some message
body" # passes
always
echo "π fix: some message
BREAKING CHANGE: It will be significant" # fails
echo "π fix: some message
BREAKING CHANGE: It will be significant" # passes
MIT Β© Nor Cod
FAQs
Shareable commitlint config for the VS Code extension git-commit-plugin with emoji enabled
The npm package commitlint-config-git-commit-emoji receives a total of 101 weekly downloads. As such, commitlint-config-git-commit-emoji popularity was classified as not popular.
We found that commitlint-config-git-commit-emoji 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.
Product
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NISTβs handling of the National Vulnerability Database.
Research
Security News
Socketβs Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.