{"id":16231757,"url":"https://github.com/nico-i/commitlint-plugin-spend","last_synced_at":"2025-03-19T14:30:47.584Z","repository":{"id":220879867,"uuid":"752825799","full_name":"nico-i/commitlint-plugin-spend","owner":"nico-i","description":"A commitlint plugin that requires the GitLab /spend or /spend_time directive in commit messages","archived":false,"fork":false,"pushed_at":"2025-03-08T09:52:03.000Z","size":75,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-08T10:27:55.834Z","etag":null,"topics":["commitlint","gitlab","plugin","spend","time","timetracking","tracking"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/commitlint-plugin-spend","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/nico-i.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":"2024-02-04T22:29:31.000Z","updated_at":"2024-02-05T18:11:14.000Z","dependencies_parsed_at":"2024-10-27T20:36:47.822Z","dependency_job_id":"02694f85-329c-4161-a70b-5090ff06648f","html_url":"https://github.com/nico-i/commitlint-plugin-spend","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.25,"last_synced_commit":"5a9f419e40ea9fd9d75c50c09378a5ece9d16c22"},"previous_names":["nico-i/commitlint-plugin-spend"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nico-i%2Fcommitlint-plugin-spend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nico-i%2Fcommitlint-plugin-spend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nico-i%2Fcommitlint-plugin-spend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nico-i%2Fcommitlint-plugin-spend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nico-i","download_url":"https://codeload.github.com/nico-i/commitlint-plugin-spend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243997041,"owners_count":20380980,"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","gitlab","plugin","spend","time","timetracking","tracking"],"created_at":"2024-10-10T13:06:42.652Z","updated_at":"2025-03-19T14:30:47.329Z","avatar_url":"https://github.com/nico-i.png","language":"JavaScript","readme":"# commitlint-plugin-spend\n\n[Commitlint](https://commitlint.js.org/) plugin to enforce the use of [spend directives](https://docs.gitlab.com/ee/user/project/quick_actions.html#issues-merge-requests-and-epics) in commit messages.\n\n## Available rules\n\n### spend\n\n- **condition**: `body` ends with a valid [spend directive](https://docs.gitlab.com/ee/user/project/quick_actions.html#issues-merge-requests-and-epics)\n- **rule**: `always`\n\n## Usage\n\n1. Install the plugin:\n\n```bash\nnpm i -D commitlint-plugin-spend\n```\n\n```bash\nyarn add -D commitlint-plugin-spend\n```\n\n```bash\npnpm add -D commitlint-plugin-spend\n```\n\n```bash\nbun add -d commitlint-plugin-spend\n```\n\n2. Add the plugin to your `commitlint` configuration:\n\n```json\n{\n  \"extends\": [\"@commitlint/config-conventional\"],\n  \"plugins\": [\"commitlint-plugin-spend\"]\n}\n```\n\n3. Configure the `spend` rule in your `commitlint` configuration:\n\n```json\n{\n  \"rules\": {\n    \"spend\": [2, \"always\"]\n  }\n}\n```\n\n## License\n\n[MIT](./LICENSE)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnico-i%2Fcommitlint-plugin-spend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnico-i%2Fcommitlint-plugin-spend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnico-i%2Fcommitlint-plugin-spend/lists"}