{"id":21083685,"url":"https://github.com/initdc/hello-commitlint","last_synced_at":"2026-02-25T13:35:40.586Z","repository":{"id":110379860,"uuid":"439830011","full_name":"initdc/hello-commitlint","owner":"initdc","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-20T13:58:44.000Z","size":135,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-30T00:49:46.299Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/initdc/commitlint-template","language":"HTML","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/initdc.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":"2021-12-19T10:06:31.000Z","updated_at":"2022-01-17T14:57:50.000Z","dependencies_parsed_at":"2023-04-13T03:04:49.042Z","dependency_job_id":null,"html_url":"https://github.com/initdc/hello-commitlint","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/initdc/hello-commitlint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/initdc%2Fhello-commitlint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/initdc%2Fhello-commitlint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/initdc%2Fhello-commitlint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/initdc%2Fhello-commitlint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/initdc","download_url":"https://codeload.github.com/initdc/hello-commitlint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/initdc%2Fhello-commitlint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281726184,"owners_count":26550920,"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","status":"online","status_checked_at":"2025-10-29T02:00:06.901Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-19T20:19:31.104Z","updated_at":"2025-10-30T00:49:46.539Z","avatar_url":"https://github.com/initdc.png","language":"HTML","readme":"# [hello-commitlint](https://github.com/initdc/hello-commitlint)\n\n\u003e It's time to style commit msg.\n\n## Reason\n\nA good coding style-guide takes your project further.\n\n## Use template\n\n```sh\n# replace proj\ngit clone https://github.com/initdc/commitlint-template.git proj\n\ncd proj \u0026\u0026 rm -rf .git \u0026\u0026 git init\n\npnpm init\n```\n\n## Install\n\n```sh\npnpm add -D husky prettier lint-staged @commitlint/{config-conventional,cli,prompt-cli} standard-version conventional-github-releaser\n\necho \"module.exports = {extends: ['@commitlint/config-conventional']}\" \u003e commitlint.config.js\n\npnpm husky install\n\npnpm husky add .husky/pre-commit 'pnpm lint-staged'\npnpm husky add .husky/commit-msg 'pnpm commitlint --edit $1'\n```\n\n## Pre-defined scripts\n\n```json\n  \"lint-staged\": {\n    \"*\": \"prettier -wu .\"\n  },\n  \"scripts\": {\n    \"commit\": \"commit\",\n    \"fmt:c\": \"prettier -cu .\",\n    \"fmt:w\": \"prettier -wu .\",\n    \"rel\": \"standard-version --help\",\n    \"rel:d\": \"standard-version --dry-run\",\n    \"rel:d:as\": \"standard-version --dry-run --release-as\",\n    \"rel:d:m\": \"standard-version --dry-run --release-as major\",\n    \"rel:d:n\": \"standard-version --dry-run --release-as minor\",\n    \"rel:d:p\": \"standard-version --dry-run --release-as patch\",\n    \"rel:v\": \"standard-version\",\n    \"rel:v:as\": \"standard-version --release-as\",\n    \"rel:v:m\": \"standard-version --release-as major\",\n    \"rel:v:n\": \"standard-version --release-as minor\",\n    \"rel:v:p\": \"standard-version --release-as patch\",\n    \"pub:g\": \"conventional-github-releaser -v\",\n    \"pub:n\": \"npm publish\",\n    \"postinstall\": \"pnpm husky install\"\n  },\n```\n\n## Thanks\n\n[commitlint](https://github.com/conventional-changelog/commitlint)\n\n[standard-version](https://github.com/conventional-changelog/standard-version)\n\n[husky](https://github.com/typicode/husky)\n\n[lint-staged](https://github.com/okonet/lint-staged)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finitdc%2Fhello-commitlint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finitdc%2Fhello-commitlint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finitdc%2Fhello-commitlint/lists"}