You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
commitlint-wizardoc is a configuration package for commitlint that contain some rules and plugins to check that your commit message conform to the Wizardoc convention.
commitlint-wizardoc is a configuration package for commitlint that contain some rules and plugins to check that your commit message conform to the Wizardoc convention.
Usage
If you have never used commitlint before, you can visit commitlint document for more detail.
Install
You can install commitlint-wizardoc using NPM and YARN as well.
Create a commitlint config in the root path of your project, and you can extends the wizardoc config to do all configuration work.
For instance, create .commitlintrc.js that looks like:
module.exports={// This line config will read the NPM package named "commitlint-config-wizardoc", so please make sure you have installed it before config this line.extends: "wizardoc",};
Break change symbol: it can indicate that the commit contains break change
Type: commit type that can only be one of the following types
Feat
Init
Remove
Delete
Update
Refactor
Move
Perf
Doc
Add
Patch
Fix
Test
Stub
Chore
Scope: scope of modification
Subject: description of the commit
Override configs
You can also override Wizardoc config to create your own configuration as well.
module.exports={extends: 'wizardoc',rules: [// Set the $ as the third parameter if you wanna change break symbol to $"break-change-prefix": [2,"always",'$'],]}
LICENSE
MIT.
About
commitlint-wizardoc is a configuration package for commitlint that contain some rules and plugins to check that your commit message conform to the Wizardoc convention.