{"id":15406747,"url":"https://github.com/dannyben/rentacop","last_synced_at":"2026-03-01T11:34:09.492Z","repository":{"id":63307768,"uuid":"566892312","full_name":"DannyBen/rentacop","owner":"DannyBen","description":"A more relaxed default set of RuboCop rules","archived":false,"fork":false,"pushed_at":"2024-08-21T15:35:14.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-06T05:19:22.720Z","etag":null,"topics":["rubocop","rubocop-configuration","rubocop-defaults","ruby","ruby-gem","static-code-analysis"],"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/DannyBen.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":"2022-11-16T16:27:28.000Z","updated_at":"2024-08-21T15:35:17.000Z","dependencies_parsed_at":"2024-08-21T17:38:36.648Z","dependency_job_id":"d2b91c21-1c8f-4d74-b5c1-7d94189b7808","html_url":"https://github.com/DannyBen/rentacop","commit_stats":{"total_commits":23,"total_committers":1,"mean_commits":23.0,"dds":0.0,"last_synced_commit":"ffd5d6f8c059e99033fdf6a6ca2435bc14f12895"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Frentacop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Frentacop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Frentacop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DannyBen%2Frentacop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DannyBen","download_url":"https://codeload.github.com/DannyBen/rentacop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":220053576,"owners_count":16588691,"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":["rubocop","rubocop-configuration","rubocop-defaults","ruby","ruby-gem","static-code-analysis"],"created_at":"2024-10-01T16:25:11.500Z","updated_at":"2026-03-01T11:34:09.484Z","avatar_url":"https://github.com/DannyBen.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rentacop\n\n![repocard](https://repocard.dannyben.com/svg/rentacop.svg)\n\nA more relaxed default set of RuboCop rules.\n\n## Install\n\nRun:\n\n```bash\n$ gem install rentacop\n```\n\nOr, add this line to your Gemfile:\n\n```ruby\ngroup :test, :development do\n  gem 'rentacop'\nend\n```\n\n## Prerequisites\n\nWe assume you have rubocop installed either globally:\n\n```bash\n$ gem install rubocop\n```\n\nor in your bundle\n\n```bash\n$ bundle add rubocop --group development,test\n```\n\n## Usage\n\nThis gem contains two rule sets:\n\n1. Global rubocop rules in [rentacop.yml](rentacop.yml)\n2. RSpec rubocop rules in [rspec.yml](rspec.yml)\n\n### Configuring `.rubocop.yml`\n\nIf you are not using RSpec, add the following to the top of your `.rubocop.yml`:\n\n\n```yaml\ninherit_gem:\n  rentacop: rentacop.yml\n```\n\nIf you are using [rubocop-rspec](https://github.com/rubocop/rubocop-rspec), and wish to include the RSpec rules from this repository, add this instead:\n\n```yaml\nrequire: rubocop-rspec\n\ninherit_gem:\n  rentatop:\n    - rentacop.yml\n    - rspec.yml\n```\n\n### Recommended Template\n\nThis `.rubocop.yml` contains our full recommended configuration:\n\n\n```yaml\n# .rubocop.yml\nrequire:\n  - rubocop-performance\n  - rubocop-rspec\n\ninherit_gem:\n  rentacop:\n    - rentacop.yml\n    - rspec.yml\n\ninherit_mode:\n  merge:\n    - Exclude\n    - Include\n\nAllCops:\n  TargetRubyVersion: 3.0\n```\n\n### Running `rubocop`\n\nAfter creating your `.rubocop.yml` file, run:\n\n```bash\n$ rubocop\n# or, if you do not have rubocop installed globally\n$ bundle exec rubocop\n```\n\nTo create a todo list, run:\n\n```bash\n$ rubocop --regenerate-todo\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannyben%2Frentacop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdannyben%2Frentacop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannyben%2Frentacop/lists"}