Skip to content

Repository files navigation

@onify/commitlint-config

Shareable commitlint config enforcing Conventional Commits thru extension of @commitlint/config-conventional. Use with @commitlint/cli.

Installation

npm install @commitlint/cli https://github.com/onify/commitlint-config.git

Usage

Best used with husky as a commit-msg hook.

With a dedicated Commitlint Config

Create a commitlint.config.js file on the root directory and extend with this package:

module.exports={extends: ['@onify'],};

With package.json

In the package.json of your project

{
"commitlint": {
"extends": ["@onify"],
}
}

Valid Types

TypeDescription
buildChanges that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
choreChanges to the build process or auxiliary tools and libraries such as documentation generation
ciChanges to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
uiChanges that only affects the UI
docsDocumentation only changes
dxAny changes or addition that improves developer experience
featA new feature
fixA bug fix
infraChanges to any infrastructure configuration files and/or scripts (example scopes: aws, heroku, azure, nginx)
perfA code change that improves performance
refactorA code change that neither fixes a bug nor adds a feature
revertRead here
styleChanges that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
testAdding missing tests or correcting existing tests
wipWork in progress. For partial progress that you want to sync on the remote repo.

Note: Descriptions taken directly from Angular's Commit Message Type Guidelines except for types that are in bold characters as they are new types added by this config.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages