{"id":30066299,"url":"https://github.com/nlibjs/lint-commit","last_synced_at":"2025-08-08T07:28:45.553Z","repository":{"id":37016091,"uuid":"300465951","full_name":"nlibjs/lint-commit","owner":"nlibjs","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-28T18:09:15.000Z","size":2022,"stargazers_count":1,"open_issues_count":10,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-28T20:21:55.406Z","etag":null,"topics":["git"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nlibjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","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},"funding":{"github":"gjbkz","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-10-02T01:06:49.000Z","updated_at":"2023-08-31T22:55:39.000Z","dependencies_parsed_at":"2024-01-17T09:16:48.239Z","dependency_job_id":"8496c483-1f21-4936-9f99-48fd8d973c49","html_url":"https://github.com/nlibjs/lint-commit","commit_stats":{"total_commits":693,"total_committers":5,"mean_commits":138.6,"dds":0.3982683982683982,"last_synced_commit":"d344bfe0ce6d985ffae178cebcc754f0de89ad9c"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/nlibjs/lint-commit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlibjs%2Flint-commit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlibjs%2Flint-commit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlibjs%2Flint-commit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlibjs%2Flint-commit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nlibjs","download_url":"https://codeload.github.com/nlibjs/lint-commit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nlibjs%2Flint-commit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269383221,"owners_count":24408157,"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-08-08T02:00:09.200Z","response_time":72,"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":["git"],"created_at":"2025-08-08T07:28:40.998Z","updated_at":"2025-08-08T07:28:45.533Z","avatar_url":"https://github.com/nlibjs.png","language":"TypeScript","funding_links":["https://github.com/sponsors/gjbkz"],"categories":[],"sub_categories":[],"readme":"# @nlib/lint-commit\n\n[![Test](https://github.com/nlibjs/lint-commit/actions/workflows/test.yml/badge.svg)](https://github.com/nlibjs/lint-commit/actions/workflows/test.yml)\n[![codecov](https://codecov.io/gh/nlibjs/lint-commit/branch/master/graph/badge.svg)](https://codecov.io/gh/nlibjs/lint-commit)\n\nLint your commit messages.\n\n## Message Format\n\n```\nCommitMessage = Type [\"(\" Scope \")\"] \": \" Subject [EOL Body]\nType          = DefaultTypes (or your configuration)\nDefaultTypes  = \"build\" | \"chore\" | \"ci\" | \"docs\" | \"feat\" | \"fix\" | \"perf\" |\n                \"refactor\" | \"revert\" | \"style\" | \"test\" | \"deps\" | \"breaking\"\nScope         = DefaultScope (or your configuration)\nDefaultScope  = /^[\\w-]+$/\nSubject       = /^\\S[^\\r\\n]*$/ (or your configuration)\nEOL           = /\\r\\n|\\r|\\n/\nBody          = \u003cArbitrary string\u003e\n```\n\n## Usage\n\nThen, set `@nlib/lint-commit` to `commit-msg` hook.\n\n```sh\n#!/bin/sh\nnpx @nlib/lint-commit --input $1\n```\n\n[husky]: https://www.npmjs.com/package/husky\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnlibjs%2Flint-commit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnlibjs%2Flint-commit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnlibjs%2Flint-commit/lists"}