{"id":18942331,"url":"https://github.com/bugcrowd/rubocop-bugcrowd","last_synced_at":"2025-04-15T21:31:33.674Z","repository":{"id":43409732,"uuid":"232641313","full_name":"bugcrowd/rubocop-bugcrowd","owner":"bugcrowd","description":"Bugcrowd-specific Rubocop cops","archived":false,"fork":false,"pushed_at":"2024-08-02T01:42:48.000Z","size":119,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-10-27T22:55:00.821Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":false,"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/bugcrowd.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-08T19:25:27.000Z","updated_at":"2024-06-26T04:22:00.000Z","dependencies_parsed_at":"2024-06-25T12:01:31.939Z","dependency_job_id":null,"html_url":"https://github.com/bugcrowd/rubocop-bugcrowd","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugcrowd%2Frubocop-bugcrowd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugcrowd%2Frubocop-bugcrowd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugcrowd%2Frubocop-bugcrowd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bugcrowd%2Frubocop-bugcrowd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bugcrowd","download_url":"https://codeload.github.com/bugcrowd/rubocop-bugcrowd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223685530,"owners_count":17185869,"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-08T12:32:25.622Z","updated_at":"2024-11-08T12:32:26.264Z","avatar_url":"https://github.com/bugcrowd.png","language":"Ruby","readme":"# Rubocop::Bugcrowd\n\nRubocop custom extension for rules specific to Bugcrowd's projects. Custom extension lets us share between projects and more easily test the cops in isolation. Many of these cops are not universally applicable to Rails/Ruby projects, they are simply a way of deprecating/prefering certain patterns as teams and projects grow in the Bugcrowd organization.\n\nTo experiment, run `bin/console` for an interactive prompt.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'rubocop-bugcrowd', require: false\n```\n\nand require it at the top of your `.rubocop.yml`\n\n```yaml\nrequire:\n  - rubocop-bugcrowd\n```\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `bundle exec rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nCheckout the Rubocop docs for node pattern matching https://docs.rubocop.org/rubocop-ast/node_pattern.html. You can also use this handle tool for quickly pasting in sample code to see how the Ruby parser reads it https://nodepattern.herokuapp.com/\n\n#### Generating a new cop\n\n```bash\nbundle exec rake 'new_cop[Bugcrowd/UseThisInsteadOfThat]'\n```\n\nThe Rubocop [documentation](https://docs.rubocop.org/rubocop/development.html#create-a-new-cop) is decent (but getting better) for writing a new cop. All cops should exhaustively tested -- a poorly implemented cop can be very frustrating for devs.\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::Bugcrowd project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/bugcrowd/rubocop-bugcrowd/blob/master/CODE_OF_CONDUCT.md).\n\n\n## Contributors ✨\n\nThanks goes to these contributors past/present/future:\n\n- [@adamrdavid](https://github.com/adamrdavid)\n- [@maschwenk](https://github.com/maschwenk)\n- [@tomlockwood](https://github.com/tomlockwood)\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugcrowd%2Frubocop-bugcrowd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbugcrowd%2Frubocop-bugcrowd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugcrowd%2Frubocop-bugcrowd/lists"}