Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
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 valuealways
echo ":abc: some message" # fails
echo ":feat: some message" # passes
type
is in case value
always
lowerCase
echo ":ART: Format some code" # fails
echo ":art: Format some code" # passes
type
is emptynever
echo ": some message" # fails
echo ":fire: Delete some file" # passes
scope
is in case value
always
lowerCase
echo ":art:(SCOPE) some message" # fails
echo ":art:(scope) some message" # passes
subject
must begin with ['sentence-case', 'start-case', 'pascal-case', 'upper-case']
always
echo ":art:(scope) Some Message" # pass
echo ":art:(scope) some message" # Fails
subject
is emptynever
echo ":art: " # fails
echo ":art: some message" # passes
subject
ends with value
never
.
echo ":art: some message." # fails
echo ":art: some message" # passes
header
has value
or less charactersalways
100
echo ":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
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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.