{"id":28836453,"url":"https://github.com/rubyatscale/rubocop-packs","last_synced_at":"2025-09-10T14:24:08.977Z","repository":{"id":61609638,"uuid":"546116472","full_name":"rubyatscale/rubocop-packs","owner":"rubyatscale","description":"A collection of Rubocop rules for gradually modularizing a ruby codebase","archived":false,"fork":false,"pushed_at":"2024-10-01T18:44:35.000Z","size":2416,"stargazers_count":16,"open_issues_count":2,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-05T19:18:49.804Z","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/rubyatscale.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2022-10-05T14:52:59.000Z","updated_at":"2025-04-09T10:22:48.000Z","dependencies_parsed_at":"2023-02-09T04:00:51.959Z","dependency_job_id":"7754cac1-0b5c-41d1-84ce-141e967f881a","html_url":"https://github.com/rubyatscale/rubocop-packs","commit_stats":{"total_commits":61,"total_committers":5,"mean_commits":12.2,"dds":0.08196721311475408,"last_synced_commit":"a50071403c72647949a3398979cce854ed5d672d"},"previous_names":["rubyatscale/rubocop-modularization"],"tags_count":41,"template":false,"template_full_name":null,"purl":"pkg:github/rubyatscale/rubocop-packs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyatscale%2Frubocop-packs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyatscale%2Frubocop-packs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyatscale%2Frubocop-packs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyatscale%2Frubocop-packs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubyatscale","download_url":"https://codeload.github.com/rubyatscale/rubocop-packs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyatscale%2Frubocop-packs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260739051,"owners_count":23055074,"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":"2025-06-19T11:06:47.958Z","updated_at":"2025-09-10T14:24:08.964Z","avatar_url":"https://github.com/rubyatscale.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rubocop-packs\n\nA collection of Rubocop rules for modularizing ruby applications that conform to the [`packs`](https://github.com/rubyatscale/packs) standard.\n\n## Installation\n\nJust install the `rubocop-packs` gem\n\n```sh\ngem install rubocop-packs\n```\nor, if you use `Bundler`, add this line your application's `Gemfile`:\n\n```ruby\ngem 'rubocop-packs', require: false\n```\n\n## Usage\n\nYou need to tell RuboCop to load the Packs extension. There are three ways to do this:\n\n### RuboCop configuration file\n\nPut this into your `.rubocop.yml`:\n\n```yaml\nrequire:\n  - rubocop-packs\n```\n\nNow you can run `rubocop` and it will automatically load the RuboCop Packs cops together with the standard cops.\n\n## The Cops\nAll cops are located under [`lib/rubocop/cop/packs`](lib/rubocop/cop/packs), and contain examples/documentation.\n\nIn your `.rubocop.yml`, you may treat the Packs cops just like any other cop. For example:\n\n```yaml\nPacks/RootNamespaceIsPackName:\n  Exclude:\n    - lib/example.rb\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/rubyatscale/rubocop-packs. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Code Of Conduct](CODE_OF_CONDUCT.MD).\n\nTo contribute a new cop, please use the supplied generator like this:\n\n```sh\nbundle exec rake new_cop[Packs/NewCopName]\n```\n\nwhich will create a skeleton cop, a skeleton spec, an entry in the default config file and will require the new cop so that it is properly exported from the gem.\n\nDon't forget to update the documentation with:\n\n```sh\nVERIFYING_DOCUMENTATION=1 bundle exec rake generate_cops_documentation\n```\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://github.com/Shopify/rubocop-packs/blob/main/LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyatscale%2Frubocop-packs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubyatscale%2Frubocop-packs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyatscale%2Frubocop-packs/lists"}