
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fixβa new CLI tool that turns CVE alerts into safe, automated upgrades.
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
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
Automatically fix and test dependency updates with socket fixβa new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
Weβre excited to announce a powerful new capability in Socket: historical data and enhanced analytics.