{"id":18409408,"url":"https://github.com/be-fe/commitlint-config-befe","last_synced_at":"2025-04-12T21:52:41.526Z","repository":{"id":83506206,"uuid":"154772896","full_name":"be-fe/commitlint-config-befe","owner":"be-fe","description":"commitlint config preet for baidu BEFE","archived":false,"fork":false,"pushed_at":"2018-10-26T04:16:13.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-02-16T05:16:47.158Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/be-fe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"License","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-26T03:36:12.000Z","updated_at":"2018-10-26T04:16:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d4fcbb4-fbb0-49b5-9cd6-b73408722a51","html_url":"https://github.com/be-fe/commitlint-config-befe","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/be-fe%2Fcommitlint-config-befe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/be-fe%2Fcommitlint-config-befe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/be-fe%2Fcommitlint-config-befe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/be-fe%2Fcommitlint-config-befe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/be-fe","download_url":"https://codeload.github.com/be-fe/commitlint-config-befe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248637834,"owners_count":21137538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T03:25:07.627Z","updated_at":"2025-04-12T21:52:41.501Z","avatar_url":"https://github.com/be-fe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# commitlint-config-befe\n\n[![build status](https://img.shields.io/travis/be-fe/commitlint-config-befe/master.svg?style=flat-square)](https://travis-ci.org/be-fe/commitlint-config-befe)\n[![Test coverage](https://img.shields.io/codecov/c/github/be-fe/commitlint-config-befe.svg?style=flat-square)](https://codecov.io/github/be-fe/commitlint-config-befe?branch=master)\n[![NPM version](https://img.shields.io/npm/v/commitlint-config-befe.svg?style=flat-square)](https://www.npmjs.com/package/commitlint-config-befe)\n[![NPM Downloads](https://img.shields.io/npm/dm/commitlint-config-befe.svg?style=flat-square\u0026maxAge=43200)](https://www.npmjs.com/package/commitlint-config-befe)\n\n\u003e commitlint config preet for baidu BEFE.\n\n## 安装\n\n```bash\nnpm install commitlint-config-befe @commitlint/cli husky -D\n```\n\n## 使用\n\n在 `package.json` 中书写：\n\n```json\n{\n  \"commitlint\": {\n    \"extends\": [\"commitlint-config-befe\"]\n  },\n  \"husky\": {\n    \"hooks\": {\n      \"commit-msg\": \"commitlint -e $HUSKY_GIT_PARAMS\"\n    }\n  }\n}\n```\n\n同时推荐 `npm install -g commitizen`\n全局注入了 `git cz`，用来引导式书写规范的 commit message，十分适合于不熟悉的同学。\n\n![](https://github.com/commitizen/cz-cli/raw/master/meta/screenshots/add-commit.png)\n\n## Related\n\n- [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog) - 根据 commit message 生成 changelog\n- [commitlint](https://github.com/marionebl/commitlint) - Lint commit messages\n- [conventional-changelog-befe](https://github.com/be-fe/conventional-changelog-befe) - conventional-changelog 预设\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbe-fe%2Fcommitlint-config-befe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbe-fe%2Fcommitlint-config-befe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbe-fe%2Fcommitlint-config-befe/lists"}