{"id":15010554,"url":"https://github.com/nodejs/core-validate-commit","last_synced_at":"2025-05-16T15:06:34.789Z","repository":{"id":7892405,"uuid":"56778056","full_name":"nodejs/core-validate-commit","owner":"nodejs","description":"Validate commit messages for Node.js core","archived":false,"fork":false,"pushed_at":"2024-12-21T09:32:38.000Z","size":323,"stargazers_count":54,"open_issues_count":14,"forks_count":52,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-05-08T11:29:38.869Z","etag":null,"topics":["node","nodejs"],"latest_commit_sha":null,"homepage":"","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/nodejs.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-04-21T13:56:46.000Z","updated_at":"2025-03-09T14:59:17.000Z","dependencies_parsed_at":"2023-01-13T14:32:50.434Z","dependency_job_id":"5fbd4e11-5103-4078-88e4-67d20a38bbab","html_url":"https://github.com/nodejs/core-validate-commit","commit_stats":{"total_commits":175,"total_committers":31,"mean_commits":5.645161290322581,"dds":0.6914285714285715,"last_synced_commit":"4556b7ced175f8802ef32a0cb1af273e9bab5c24"},"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejs%2Fcore-validate-commit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejs%2Fcore-validate-commit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejs%2Fcore-validate-commit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejs%2Fcore-validate-commit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodejs","download_url":"https://codeload.github.com/nodejs/core-validate-commit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253824019,"owners_count":21969950,"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":["node","nodejs"],"created_at":"2024-09-24T19:34:42.281Z","updated_at":"2025-05-16T15:06:34.765Z","avatar_url":"https://github.com/nodejs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# core-validate-commit\n\n[![Build Status](https://github.com/nodejs/core-validate-commit/actions/workflows/node.js.yml/badge.svg)](https://github.com/nodejs/core-validate-commit/actions/workflows/node.js.yml)\n[![codecov](https://img.shields.io/codecov/c/github/nodejs/core-validate-commit.svg?style=flat-square)](https://codecov.io/gh/nodejs/core-validate-commit)\n\nValidate the commit message for a particular commit in node core\n\n## Install\n\n```bash\n$ npm install [-g] core-validate-commit\n```\n\n## Usage\n\n```bash\n# for a single commit\n$ core-validate-commit \u003csha\u003e\n\n# validate since \u003csha\u003e\n$ git rev-list \u003csha\u003e..HEAD | xargs core-validate-commit\n\n# list all rules\n$ core-validate-commit --list\n         fixes-url enforce format of Fixes URLs\n  line-after-title enforce a blank newline after the commit title\n       line-length enforce max length of lines in commit body\n      metadata-end enforce that metadata is at the end of commit messages\n            pr-url enforce PR-URL\n         reviewers enforce having reviewers\n         subsystem enforce subsystem validity\n      title-format enforce commit title format\n      title-length enforce max length of commit title\n```\n\nTo see a list of valid subsystems:\n```bash\n$ core-validate-commit --list-subsystem\n```\n\nValid subsystems are also defined in [lib/rules/subsystem.js](./lib/rules/subsystem.js).\n\n## Test\n\n```bash\n$ npm test\n```\n\n## Author\n\nEvan Lucas\n\n## License\n\nMIT (See `LICENSE` for more info)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodejs%2Fcore-validate-commit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodejs%2Fcore-validate-commit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodejs%2Fcore-validate-commit/lists"}