commitlint-config-pnpm-workspace 被封装的配置文件 如下所示: 被封装的配置文件 import { type UserConfig } from "cz-git"; /** * @description * 这个配置文件不能使用ts格式 ts不被支持 * * 该配置没有 scopes 范围 * * @see https://cz-git.qbb.sh/zh/
commitlint.config的配置和中文文档(附使用示例) https://blog.csdn.net/qq_38290251/article/details/111646491 https://blog.csdn.net/qq_21197033/article/details/128609033 生命不息 希望不止 将来的你 一定会感谢现在拼命的自己 fighting!!!
支持配套的 commitlint 配置,用于对 git commit message 进行校验。安装使用时,需要安装 @commitlint/cli:npm install commitlint-config-norm @commitlint/cli --save-dev使用在commitlint.config.js 中集成本包:module.exports = { extends: ['norm'], };...
dargmuesli/commitlint-config main Branches 4 Tags Code Folders and files Latest commit renovate[bot] chore(deps): update all non-major dependencies 0ba7a22· Jun 6, 2024 History89 Commits .config .github .husky .vscode src .commitlintrc.json .dockerignore .editorconfig .gitignore ...
gitmojicommitlintcommitlint-configsemantic-release-configcommitlintplugin UpdatedAug 23, 2024 TypeScript Rocketseat/commitlint-config Star98 Shareable commitlint config used by Rocketseat 🚀 lintgitcommitlintcommitlint-configrocketseat UpdatedFeb 18, 2021 ...
npm install @commitlint/config-conventional @commitlint/cli --save-dev 创建commitlint.config.js文件:在项目根目录下创建该文件,并添加上述配置内容。 集成husky(可选,但推荐):为了自动在每次提交时运行commitlint,可以将它与husky集成。安装husky并配置pre-commit钩子: bash...
module.exports = {extends: ['commitlint-config-fabulator'], }; Format of Commit message Changed: Some change in code. Type Following types are allowed: Changed Fixed Removed Added Depreciated Docs Refactored Test- should not be in master branch ...
`commitlint-config-hfex` 是一种更严格的提交信息规范,它要求提交信息中包含更多的元数据,如作者、日期、提交历史等。为了实现这种规范,我们可以在 `@commitlint/config-conventional` 的基础上添加相应的规则。 例如,我们可以在 `package.json` 文件中添加以下规则: ...
exportdefault{extends: ['@anolilab/commitlint-config'],rules: {// overwrite rules here// or extend rules}, }; This extends the@anolilab/commitlint-configand uses its pre-defined configuration. Alternatively the configuration can be defined in acommitlint.config.js,.commitlintrc.js,.commitlintrc...
* https://commitlint.js.org/#/reference-rules * https://cz-git.qbb.sh/zh/guide/ */ module.exports = { // 继承的规则 extends: ['@commitlint/config-conventional'], // 自定义规则 rules: { // 提交类型枚举,git提交type必须是以下类型 'type-enum': [ 2, 'always', [...