@infosisarg/commitlint-config

0.1.0 • Public • Published

Latest Release Lint CI Test pre-commit Conventional Commits KeepAChangelog

commitlint-config

commitlint-config

commitlint-config for project

Requirements

This is a list of plugins that need to be installed previously to enjoy all the goodies of this configuration:

Installation

yarn

If you're using yarn

  yarn add --dev husky @commitlint/cli @commitlint/config-conventional @infosisarg/commitlint-config

npm

If you're using npm

  npm i --save-dev husky @commitlint/cli @commitlint/config-conventional @infosisarg/commitlint-config

Usage

How to use this project

Create file .commitlintrc.json with extending preset and define set of scopes:

{
  "extends": ["@commitlint/config-conventional"],
  "rules": {
    "type-enum": [
      2,
      "always",
      [
        // as examples
        "app",
        "common"
      ]
    ]
  }
}

Add to package.json next section:

{
  "husky": {
    "hooks": {
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
    }
  }
}

Examples

common

Help

Got a question?

File a GitHub issue.

Contributing

See Contributing.

Module Versioning

This Module follows the principles of Semantic Versioning (SemVer).

Using the given version number of MAJOR.MINOR.PATCH, we apply the following constructs:

  1. Use the MAJOR version for incompatible changes.
  2. Use the MINOR version when adding functionality in a backwards compatible manner.
  3. Use the PATCH version when introducing backwards compatible bug fixes.

Backwards compatibility in 0.0.z and 0.y.z version

  • In the context of initial development, backwards compatibility in versions 0.0.z is not guaranteed when z is increased. (Initial development)
  • In the context of pre-release, backwards compatibility in versions 0.y.z is not guaranteed when y is increased. (Pre-release)

Copyright

Copyright © 2018-2022 Infosis Global

Trademarks

All other trademarks referenced herein are the property of their respective owners.

License

The code and styles are licensed under the LGPL-3.0 license See project license..

Don't forget to 🌟 Star 🌟 the repo if you like commitlint-config

Your feedback is appreciated

Package Sidebar

Install

npm i @infosisarg/commitlint-config

Weekly Downloads

0

Version

0.1.0

License

LGPL-3.0

Unpacked Size

76.5 kB

Total Files

54

Last publish

Collaborators

  • luismayta