@commencis/commitlint-config
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

@commencis/commitlint-config

This package provides the Commitlint configuration for enforcing commit message conventions within Commencis projects. With predefined rules, it ensures consistency and clarity across commit messages.

Installation

To use this Commitlint configuration in your project, simply install it as a dev dependency:

With npm:

npm install --save-dev @commitlint/cli @commencis/commitlint-config

With yarn:

yarn add --dev @commitlint/cli @commencis/commitlint-config

With pnpm:

pnpm add --save-dev @commitlint/cli @commencis/commitlint-config

Recommended: Use Husky for Git-Hooks

Install dependencies

npm install --save-dev husky

Initialize husky and create your ./husky/commit-msg hook as follows:

npx --no-install commitlint --edit "$1"

Usage

Once installed, you can reference this configuration in your project's Commitlint configuration file, typically named commitlint.config.js.

module.exports = {
  extends: ['@commencis/commitlint-config'],
};

Contribution

We welcome contributions to improve this package. Feel free to open issues or pull requests to suggest enhancements or report any issues.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

© Commencis, 2024. All rights reserved.

/@commencis/commitlint-config/

    Package Sidebar

    Install

    npm i @commencis/commitlint-config

    Weekly Downloads

    53

    Version

    1.1.3

    License

    Apache-2.0

    Unpacked Size

    17.5 kB

    Total Files

    8

    Last publish

    Collaborators

    • ermantepe
    • commencis-admin