{"id":13393120,"url":"https://github.com/github/rubocop-github","last_synced_at":"2025-05-13T22:06:40.092Z","repository":{"id":38806270,"uuid":"76094257","full_name":"github/rubocop-github","owner":"github","description":"Code style checking for GitHub's Ruby projects","archived":false,"fork":false,"pushed_at":"2025-04-07T20:00:30.000Z","size":613,"stargazers_count":648,"open_issues_count":10,"forks_count":163,"subscribers_count":320,"default_branch":"main","last_synced_at":"2025-04-10T00:03:24.977Z","etag":null,"topics":["gem","rubocop","ruby"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/rubocop-github","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/github.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2016-12-10T06:11:29.000Z","updated_at":"2025-04-02T19:26:37.000Z","dependencies_parsed_at":"2024-01-05T21:23:59.755Z","dependency_job_id":"65b8db06-3db2-4d9a-ac39-599e15230b3f","html_url":"https://github.com/github/rubocop-github","commit_stats":{"total_commits":279,"total_committers":49,"mean_commits":"5.6938775510204085","dds":0.7670250896057348,"last_synced_commit":"5affebaa56b870b934312694e46a05fe2dde3dc7"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Frubocop-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Frubocop-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Frubocop-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Frubocop-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github","download_url":"https://codeload.github.com/github/rubocop-github/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131320,"owners_count":21052819,"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":["gem","rubocop","ruby"],"created_at":"2024-07-30T17:00:43.636Z","updated_at":"2025-04-10T00:03:37.388Z","avatar_url":"https://github.com/github.png","language":"Ruby","readme":"# RuboCop GitHub\n\n[![test](https://github.com/github/rubocop-github/actions/workflows/test.yml/badge.svg)](https://github.com/github/rubocop-github/actions/workflows/test.yml)\n[![build](https://github.com/github/rubocop-github/actions/workflows/build.yml/badge.svg)](https://github.com/github/rubocop-github/actions/workflows/build.yml)\n[![lint](https://github.com/github/rubocop-github/actions/workflows/lint.yml/badge.svg)](https://github.com/github/rubocop-github/actions/workflows/lint.yml)\n[![release](https://github.com/github/rubocop-github/actions/workflows/release.yml/badge.svg)](https://github.com/github/rubocop-github/actions/workflows/release.yml)\n\nThis repository provides recommended RuboCop configuration and additional Cops for use on GitHub open source and internal Ruby projects, and is the home of [GitHub's Ruby Style Guide](./STYLEGUIDE.md).\n\n## Usage\n\nAdd `rubocop-github` to your Gemfile, along with its dependencies:\n\n  ```ruby\n  gem \"rubocop-github\", require: false\n  gem \"rubocop-performance\", require: false\n  gem \"rubocop-rails\", require: false\n  ```\n\nInherit all of the stylistic rules and cops through an inheritance declaration in your `.rubocop.yml`:\n\n  ```yaml\n  # .rubocop.yml\n  inherit_gem:\n    rubocop-github:\n    - config/default.yml # generic Ruby rules and cops\n    - config/rails.yml # Rails-specific rules and cops\n  ```\n\nAlternatively, only require the additional custom cops in your `.rubocop.yml` without inheriting/enabling the other stylistic rules:\n\n  ```yaml\n  # .rubocop.yml\n  require:\n    - rubocop-github  # generic Ruby cops only\n    - rubocop-github-rails # Rails-specific cops only\n  ```\n\n💭 Looking for `config/accessibility.yml` and the `GitHub/Accessibility` configs? They have been moved to [a new gem](https://github.com/github/rubocop-rails-accessibility).\n\nFor more granular control over which of RuboCop's rules are enabled for your project, both from this gem and your own configs, consider using the `DisabledByDefault: true` option under `AllCops` in your project's `.rubocop.yml` file. This will disable all cops by default, and you can then explicitly enable the ones you want by setting `Enabled: true`. See [the RuboCop docs](https://docs.rubocop.org/rubocop/configuration.html#enabled) for more information.\n\n### Legacy usage\n\nIf you are using a rubocop version \u003c 1.0.0, you can use rubocop-github version\n0.16.2 (see the README from that version for more details).\n\n## Testing\n\n``` bash\nbundle install\nbundle exec rake test\n```\n\n## The Cops\n\nAll cops are located under [`lib/rubocop/cop/github`](lib/rubocop/cop/github).\n","funding_links":[],"categories":["Ruby","Styleguides"],"sub_categories":["Ruby"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Frubocop-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithub%2Frubocop-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Frubocop-github/lists"}