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

0.2.0 • Public • Published

@yikoyu/commitlint-config

package version badge

➡️ Extendable commitlint icon commitlint configuration, part of the yikoyu/unconfig project.


Prerequisites

node.js version support badge supported commitlint version badge

ℹ️ This configuration package require these tools to use locally on your device(s):

  1. node.js icon Latest Node.js LTS (Long-Term Support) version
  2. One of Node.js package managers:
  3. Latest commitlint icon commitlint version

Basic usage

👣 Follow the steps below:

  1. Install it with the node.js icon Node.js package manager of your choice (in our case, we use pnpm icon pnpm).

     pnpm install --save-dev @yikoyu/commitlint-config cz-git czg
  2. If using pnpm, please add configuration to the .npmrc file.

    public-hoist-pattern[]=@commitlint/*
    
  3. Create a commitlint icon commitlint configuration file - commitlint.config.(js|cjs|.mjs).

  4. Extend this module package configuration.

    import { yikoyu } from '@yikoyu/commitlint-config'
    
    export default yikoyu()
  5. Git commit

    pnpm czg

📖 For the commitlint icon commitlint CLI usage, please refer to its documentation.


Used configurations & plugins

Dependencies badge

⚙️ This configuration module for commitlint loads configurations and plugins options conditionally.

Configurations

Configurations Version Loading condition(s)
@commitlint/cli @commitlint/cli version badge -
@commitlint/config-conventional @commitlint/config-conventional version badge -

License

license badge

⚖️ For more information, please refer to the License section at the root of the yikoyu/unconfig monorepo.

Package Sidebar

Install

npm i @yikoyu/commitlint-config

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

15.2 kB

Total Files

7

Last publish

Collaborators

  • yikoyu