{"id":29022016,"url":"https://github.com/benhigham/commitlint-config","last_synced_at":"2026-04-06T01:01:57.161Z","repository":{"id":285344235,"uuid":"957736681","full_name":"benhigham/commitlint-config","owner":"benhigham","description":"My personal commitlint configuration based on the Conventional Commits standard.","archived":false,"fork":false,"pushed_at":"2026-03-11T21:12:47.000Z","size":135,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-12T00:43:20.638Z","etag":null,"topics":["changelog","commit","commitizen","commitlint","commitlint-config","conventional-changelog","conventional-commits","format","lint","lint-config","rules","styleguide"],"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/benhigham.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"benhigham"}},"created_at":"2025-03-31T03:16:39.000Z","updated_at":"2026-03-11T21:12:09.000Z","dependencies_parsed_at":"2025-04-28T23:29:40.522Z","dependency_job_id":"2ed36e19-db1c-4f94-ae80-e27f2a891834","html_url":"https://github.com/benhigham/commitlint-config","commit_stats":null,"previous_names":["benhigham/commitlint-config"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/benhigham/commitlint-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhigham%2Fcommitlint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhigham%2Fcommitlint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhigham%2Fcommitlint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhigham%2Fcommitlint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benhigham","download_url":"https://codeload.github.com/benhigham/commitlint-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhigham%2Fcommitlint-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31455474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["changelog","commit","commitizen","commitlint","commitlint-config","conventional-changelog","conventional-commits","format","lint","lint-config","rules","styleguide"],"created_at":"2025-06-26T02:30:53.636Z","updated_at":"2026-04-06T01:01:57.149Z","avatar_url":"https://github.com/benhigham.png","language":"JavaScript","readme":"# `@benhigham/commitlint-config`\n\n[![npm version](https://img.shields.io/npm/v/@benhigham/commitlint-config.svg)](https://www.npmjs.com/package/@benhigham/commitlint-config)\n[![npm downloads](https://img.shields.io/npm/dm/@benhigham/commitlint-config.svg)](https://www.npmjs.com/package/@benhigham/commitlint-config)\n[![License](https://img.shields.io/github/license/benhigham/commitlint-config)](LICENSE.md)\n\nMy personal [commitlint](https://commitlint.js.org) configuration based on the [Conventional Commits](https://www.conventionalcommits.org/) standard.\n\n## Features\n\n- Based on `@commitlint/config-conventional`\n- Provides consistent, structured commit messages\n- Uses `@commitlint/format` for formatted output\n- Pre-configured formatting rules\n\n## Installation\n\n```bash\n# npm\nnpm install --save-dev @benhigham/commitlint-config\n\n# yarn\nyarn add --dev @benhigham/commitlint-config\n\n# pnpm\npnpm add --save-dev @benhigham/commitlint-config\n```\n\n## Usage\n\nUse in `commitlint.config.js`:\n\n```js\n/** @type {import('@commitlint/types').UserConfig} */\nconst config = {\n  extends: ['@benhigham/commitlint-config'],\n  // your overrides here\n};\n\nexport default config;\n```\n\n### With Git Hooks\n\nFor the best experience, use with [lefthook](https://github.com/evilmartians/lefthook) or [husky](https://github.com/typicode/husky) to enforce commit message formatting:\n\n#### Example with lefthook\n\n```yaml\n# lefthook.yml\ncommit-msg:\n  commands:\n    lint-commit:\n      run: pnpm exec commitlint --edit {1}\n```\n\n#### Example with husky\n\n```bash\n# Install husky\nnpm install --save-dev husky\n# Set up the commit-msg hook\nnpx husky add .husky/commit-msg 'npx commitlint --edit $1'\n```\n\n## Commit Message Format\n\nThis configuration enforces the [Conventional Commits](https://www.conventionalcommits.org/) format:\n\n```\n\u003ctype\u003e[(optional scope)]: \u003cdescription\u003e\n\n[optional body]\n\n[optional footer(s)]\n```\n\n### Types\n\n- `feat`: A new feature\n- `fix`: A bug fix\n- `docs`: Documentation only changes\n- `style`: Changes that do not affect the meaning of the code\n- `refactor`: A code change that neither fixes a bug nor adds a feature\n- `perf`: A code change that improves performance\n- `test`: Adding missing tests or correcting existing tests\n- `build`: Changes that affect the build system or external dependencies\n- `ci`: Changes to CI configuration files and scripts\n- `chore`: Other changes that don't modify src or test files\n- `revert`: Reverts a previous commit\n\n## Requirements\n\n- Node.js 22 or higher\n- [commitlint](https://commitlint.js.org) 20.x or higher\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","funding_links":["https://github.com/sponsors/benhigham"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenhigham%2Fcommitlint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenhigham%2Fcommitlint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenhigham%2Fcommitlint-config/lists"}