Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
commitlint-config-iamnewton
Advanced tools
A shareable CommitLint configuration for writing Git commits.
A shareable Commitlint configuration for writing Git commits.
npm install --save-dev commitlint-config-iamnewton
In your project package.json
add the following:
{
"commitlint": {
"extends": "iamnewton"
}
}
The following rules are considered problems for commitlint-config-iamnewton
and will yield a non-zero exit code when not met.
Consult docs/rules for a list of available rules.
condition: type
is found in value
rule: always
value
[
'build',
'ci',
'chore',
'docs',
'feat',
'fix',
'perf',
'refactor',
'revert',
'style',
'test'
]
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
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
All modules, libraries, or frameworks use SemVer for its versioning providing us an opt-in approach to releases. This means we add a version number according to the spec, as you see below. So rather than force developers to consume the latest and greatest, they can choose which version to consume and test any newer ones before upgrading. Please the read the spec as it goes into further detail.
Given a version number MAJOR.MINOR.PATCH, increment the:
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
FAQs
A shareable CommitLint configuration for writing Git commits.
The npm package commitlint-config-iamnewton receives a total of 0 weekly downloads. As such, commitlint-config-iamnewton popularity was classified as not popular.
We found that commitlint-config-iamnewton 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.