{"id":28478972,"url":"https://github.com/arandilopez/commitlint","last_synced_at":"2026-03-05T01:03:27.096Z","repository":{"id":292014133,"uuid":"979523824","full_name":"arandilopez/commitlint","owner":"arandilopez","description":"A pure-ruby alternative to use with your git hooks","archived":false,"fork":false,"pushed_at":"2026-03-03T16:23:29.000Z","size":34,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-03T20:41:26.133Z","etag":null,"topics":["conventional-commits","rubygem"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/arandilopez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"arandilopez"}},"created_at":"2025-05-07T16:38:59.000Z","updated_at":"2026-03-03T16:32:32.000Z","dependencies_parsed_at":"2025-07-03T09:42:18.171Z","dependency_job_id":null,"html_url":"https://github.com/arandilopez/commitlint","commit_stats":null,"previous_names":["arandilopez/commitlint"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/arandilopez/commitlint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arandilopez%2Fcommitlint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arandilopez%2Fcommitlint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arandilopez%2Fcommitlint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arandilopez%2Fcommitlint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arandilopez","download_url":"https://codeload.github.com/arandilopez/commitlint/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arandilopez%2Fcommitlint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30104218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T00:38:46.881Z","status":"ssl_error","status_checked_at":"2026-03-05T00:38:45.829Z","response_time":59,"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":["conventional-commits","rubygem"],"created_at":"2025-06-07T18:07:40.052Z","updated_at":"2026-03-05T01:03:22.330Z","avatar_url":"https://github.com/arandilopez.png","language":"Ruby","funding_links":["https://github.com/sponsors/arandilopez"],"categories":[],"sub_categories":[],"readme":"# Commitlint\n\nThis is a pure-ruby alternative to [commitlint](https://commitlint.js.org/).\nIt's simple and does what it needs to do: lint your commit messages.\n\n## Installation\n\nInstall the gem and add to the application's `Gemfile` by executing:\n\n    bundle add commitlint --group \"development\"\n\nIf bundler is not being used to manage dependencies, install the gem by executing:\n\n    gem install commitlint\n\n## Usage\n\nThe best way to use this gem is to add it to your `commit-msg` hook.\nYou can do this with [lefthook](https://lefthook.dev/)\n\nFirst, install `lefthook` and `commitlint`:\n\n```ruby\ngroup :development do\n  gem \"lefthook\", require: false\n  gem \"commitlint\", require: false\nend\n```\n\nThen, set up your `lefthook.yml` file with a `commit-msg` hook:\n\n```yaml\ncommit-msg:\n  jobs:\n    - name: Lint commit message\n      run: bundle exec commitlint --message {1}\n```\n\nIn fact, this repository lints its own commit messages using this gem.\n\n## Configuration\n\nThis gem does not require any configuration. It will lint your commit messages and that's it.\nI'm not planning to add any configuration options, because I think that the default behavior and rules are good enough.\n\nThe goal is provide a simple and fast way to lint your commit messages according to the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at \u003chttps://github.com/arandilopez/commitlint\u003e. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/arandilopez/commitlint/blob/main/CODE_OF_CONDUCT.md).\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Commitlint project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/arandilopez/commitlint/blob/main/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farandilopez%2Fcommitlint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farandilopez%2Fcommitlint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farandilopez%2Fcommitlint/lists"}