0.2.1 • Published 6 months ago
@yikoyu/commitlint-config v0.2.1
@yikoyu/commitlint-config
➡️ Extendable configuration, part of the
yikoyu/unconfig project.
Prerequisites
ℹ️ This configuration package require these tools to use locally on your device(s):
Latest Node.js LTS (Long-Term Support) version
- One of Node.js package managers:
- Latest
version
Basic usage
👣 Follow the steps below:
Install it with the
package manager of your choice (in our case, we use
).
pnpm install --save-dev @yikoyu/commitlint-config cz-git czg
If using pnpm, please add configuration to the
.npmrc
file.public-hoist-pattern[]=@commitlint/*
Create a
-
commitlint.config.(js|cjs|.mjs)
.Extend this module package configuration.
import { yikoyu } from '@yikoyu/commitlint-config' export default yikoyu()
Git commit
pnpm czg
📖 For the usage, please refer to its
documentation.
Used configurations & plugins
⚙️ This configuration module for commitlint loads configurations and plugins options conditionally.
Configurations
Configurations | Version | Loading condition(s) |
---|---|---|
@commitlint/cli | - | |
@commitlint/config-conventional | - |
License
⚖️ For more information, please refer to the License section at the root of the yikoyu/unconfig monorepo.