{"id":19710521,"url":"https://github.com/rootstrap/rubocop-rootstrap","last_synced_at":"2025-10-31T03:37:24.759Z","repository":{"id":55634537,"uuid":"267132288","full_name":"rootstrap/rubocop-rootstrap","owner":"rootstrap","description":"To provide default configuration files for Rubocop and the ability to create custom cops","archived":false,"fork":false,"pushed_at":"2022-05-05T16:17:11.000Z","size":25,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-05T18:50:36.578Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/rootstrap.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-26T19:22:54.000Z","updated_at":"2022-05-05T16:17:14.000Z","dependencies_parsed_at":"2022-08-15T05:00:57.770Z","dependency_job_id":null,"html_url":"https://github.com/rootstrap/rubocop-rootstrap","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootstrap%2Frubocop-rootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootstrap%2Frubocop-rootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootstrap%2Frubocop-rootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rootstrap%2Frubocop-rootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rootstrap","download_url":"https://codeload.github.com/rootstrap/rubocop-rootstrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251549201,"owners_count":21607367,"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":[],"created_at":"2024-11-11T22:07:37.272Z","updated_at":"2025-10-31T03:37:24.684Z","avatar_url":"https://github.com/rootstrap.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RuboCop Rootstrap\n\nThis gem provides the recommended RuboCop configuration for Rootstrap projects, for open source and internal Ruby projects.\n\n## Usage\n\n### For Rails projects\n\nIn your gemfile:\n\n```ruby\ngem 'rubocop-rootstrap'\ngem 'rubocop-rails', require: false\n```\n\nAnd in your .rubocop.yml\n\n```yml\ninherit_gem:\n  rubocop-rootstrap:\n    - config/rails.yml\n```\n\n### For ruby projects\n\nIn your gemfile:\n\n```ruby\ngem 'rubocop-rootstrap'\n```\n\nAnd in your .rubocop.yml\n\n```yml\ninherit_gem:\n  rubocop-rootstrap:\n    - config/default.yml\n```\n\n### Using the latest Rubocop version\n\nTo use the latest version of Rubocop just use the edge config files:\n\nIn your .rubocop.yml\n\n```yml\ninherit_gem:\n  rubocop-rootstrap:\n    - config/default_edge.yml\n```\n\nOr for Rails apps\n\n```yml\ninherit_gem:\n  rubocop-rootstrap:\n    - config/rails_edge.yml\n```\n\n### Defining custom exclusions in our project\n\nTo define custom exclusions and not override those defined by the gem:\n\nIn your .rubocop.yml\n\n```yml\ninherit_mode:\n  merge:\n    - Exclude\n```\n\n## Writing custom cops\n\nCheck Rubocop's documentation https://docs.rubocop.org/rubocop/development.html\n\nCops must live inside `lib/rubocop/cop/rootstrap/` and be required in `lib/rubocop/cop/rootstrap.rb`.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/rootstrap/rubocop-rootstrap. 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/rootstrap/rubocop-rootstrap/blob/master/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 Rubocop::Rootstrap project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/rootstrap/rubocop-rootstrap/blob/master/CODE_OF_CONDUCT.md).\n\n## Credits\n\nRuboCop Rootstrap is maintained by [Rootstrap](http://www.rootstrap.com) with the help of our\n[contributors](https://github.com/rootstrap/rubocop-rootstrap/contributors).\n\n[\u003cimg src=\"https://s3-us-west-1.amazonaws.com/rootstrap.com/img/rs.png\" width=\"100\"/\u003e](http://www.rootstrap.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootstrap%2Frubocop-rootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frootstrap%2Frubocop-rootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frootstrap%2Frubocop-rootstrap/lists"}