{"id":16252450,"url":"https://github.com/remarkablemark/husky-commitlint-demo","last_synced_at":"2026-05-19T06:07:17.430Z","repository":{"id":40273051,"uuid":"339193758","full_name":"remarkablemark/husky-commitlint-demo","owner":"remarkablemark","description":"Demo of how to lint Git commit messages with commitlint and husky.","archived":false,"fork":false,"pushed_at":"2024-02-28T05:35:22.000Z","size":61,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T08:45:54.192Z","etag":null,"topics":["commitlint","git","githook","husky","npm"],"latest_commit_sha":null,"homepage":"https://b.remarkabl.org/3u0Vdlc","language":null,"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/remarkablemark.png","metadata":{"files":{"readme":"README.md","changelog":null,"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},"funding":{"github":["remarkablemark"],"patreon":"remarkablemark","open_collective":null,"ko_fi":"remarkablemark","tidelift":null,"community_bridge":null,"liberapay":"remarkablemark","issuehunt":null,"otechie":null,"custom":["https://b.remarkabl.org/teespring"]}},"created_at":"2021-02-15T20:08:37.000Z","updated_at":"2024-02-28T05:23:37.000Z","dependencies_parsed_at":"2024-01-25T06:38:21.147Z","dependency_job_id":null,"html_url":"https://github.com/remarkablemark/husky-commitlint-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablemark%2Fhusky-commitlint-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablemark%2Fhusky-commitlint-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablemark%2Fhusky-commitlint-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablemark%2Fhusky-commitlint-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remarkablemark","download_url":"https://codeload.github.com/remarkablemark/husky-commitlint-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247845897,"owners_count":21005923,"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":["commitlint","git","githook","husky","npm"],"created_at":"2024-10-10T15:13:44.873Z","updated_at":"2026-05-19T06:07:12.389Z","avatar_url":"https://github.com/remarkablemark.png","language":null,"funding_links":["https://github.com/sponsors/remarkablemark","https://patreon.com/remarkablemark","https://ko-fi.com/remarkablemark","https://liberapay.com/remarkablemark","https://b.remarkabl.org/teespring"],"categories":[],"sub_categories":[],"readme":"# husky-commitlint-demo\n\n[![commitlint](https://github.com/remarkablemark/husky-commitlint-demo/actions/workflows/commitlint.yml/badge.svg)](https://github.com/remarkablemark/husky-commitlint-demo/actions/workflows/commitlint.yml)\n\nDemo of how to lint Git commit messages with [commitlint](https://b.remarkabl.org/commitlint) and [husky](https://b.remarkabl.org/husky).\n\nRead [blog post](https://b.remarkabl.org/3u0Vdlc) or watch [YouTube video](https://youtu.be/2J9VnYiZ_Ts?list=PLVgOtoUBG2mdLpj6qT5DXfg5_pGPTDrJZ).\n\n## Prerequisites\n\n- [Node.js](https://b.remarkabl.org/nodejs-site)\n\n## Install\n\nClone repository:\n\n```sh\ngit clone https://github.com/remarkablemark/husky-commitlint-demo.git\ncd husky-commitlint-demo\n```\n\nInstall dependencies:\n\n```sh\nnpm install\n```\n\n## husky\n\nEnable Git hooks:\n\n```sh\nnpx husky\n```\n\nAdd the `commit-msg` hook:\n\n```sh\necho 'npx commitlint --edit $1' \u003e .husky/commit-msg\n```\n\n## package.json\n\nPrivate package:\n\n```json\n{\n  \"private\": true,\n  \"scripts\": {\n    \"prepare\": \"husky\"\n  },\n  \"devDependencies\": {\n    \"@commitlint/cli\": \"latest\",\n    \"@commitlint/config-conventional\": \"latest\",\n    \"husky\": \"latest\"\n  }\n}\n```\n\nPublic package:\n\n```json\n{\n  \"private\": false,\n  \"scripts\": {\n    \"prepare\": \"husky\"\n  },\n  \"devDependencies\": {\n    \"@commitlint/cli\": \"latest\",\n    \"@commitlint/config-conventional\": \"latest\",\n    \"husky\": \"latest\"\n  }\n}\n```\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremarkablemark%2Fhusky-commitlint-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremarkablemark%2Fhusky-commitlint-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremarkablemark%2Fhusky-commitlint-demo/lists"}