{"id":19682340,"url":"https://github.com/sublimelinter/sublimelinter-rubocop","last_synced_at":"2025-04-04T21:10:51.617Z","repository":{"id":12740892,"uuid":"15413944","full_name":"SublimeLinter/SublimeLinter-rubocop","owner":"SublimeLinter","description":"SublimeLinter 3 plugin for Ruby, using rubocop.","archived":false,"fork":false,"pushed_at":"2024-10-08T14:24:20.000Z","size":56,"stargazers_count":160,"open_issues_count":2,"forks_count":40,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T20:11:40.557Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/SublimeLinter.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2013-12-24T07:34:12.000Z","updated_at":"2024-10-30T11:35:47.000Z","dependencies_parsed_at":"2024-12-28T11:15:12.694Z","dependency_job_id":null,"html_url":"https://github.com/SublimeLinter/SublimeLinter-rubocop","commit_stats":null,"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeLinter%2FSublimeLinter-rubocop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeLinter%2FSublimeLinter-rubocop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeLinter%2FSublimeLinter-rubocop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SublimeLinter%2FSublimeLinter-rubocop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SublimeLinter","download_url":"https://codeload.github.com/SublimeLinter/SublimeLinter-rubocop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249532,"owners_count":20908212,"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-11T18:10:24.201Z","updated_at":"2025-04-04T21:10:51.600Z","avatar_url":"https://github.com/SublimeLinter.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"SublimeLinter-rubocop\n=========================\n\n[![Build Status](https://travis-ci.org/SublimeLinter/SublimeLinter-rubocop.svg?branch=master)](https://travis-ci.org/SublimeLinter/SublimeLinter-rubocop)\n\nThis linter plugin for [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter) provides an interface to [rubocop](https://github.com/bbatsov/rubocop). It will be used with files that have the `ruby`, `ruby on rails`, `rspec`, `betterruby`, `better rspec`, `ruby experimental` or `cucumber steps` syntaxes.\n\n## Installation\nSublimeLinter must be installed in order to use this plugin. \n\nPlease use [Package Control](https://packagecontrol.io) to install the linter plugin.\n\nBefore using this plugin, you must ensure that `rubocop` (0.34.0 or later) is installed on your system. To install `rubocop`, do the following:\n\n1. Install [Ruby](http://ruby-lang.org).\n\n1. Install `rubocop` by typing the following in a terminal:\n   ```\n   [sudo] gem install rubocop\n   ```\n\n1. If you are using `rvm` or `rbenv`, ensure that they are loaded in your shell’s correct startup file. See [here](http://sublimelinter.com/en/latest/troubleshooting.html#adjusting-shell-startup-files) for more information.\n\nIn order for `rubocop` to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. The docs cover [troubleshooting PATH configuration](http://sublimelinter.com/en/latest/troubleshooting.html#finding-a-linter-executable).\n\n## Settings\n- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html\n- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html\n\nYou can configure rubocop exactly the way you would from the command line, using `.rubocop.yml` configuration files. For more information, see the [rubocop documentation](https://github.com/bbatsov/rubocop#configuration).\n\nTo override the config file path, you would add this to the Sublime Linter User Settings:\n\n```json\n{ \n    \"linters\": {\n        \"rubocop\": {\n            \"args\": [\"--config\", \"path/to/config.yml\"]\n        }\n    }\n}\n```\n\n### Bundler\nIf you are using Bundler and would like to use the locked rubocop version (which will also allow you to use `inherit_gem` in `rubocop.yml`, in case you are inheriting from another gem in the project), you must set `use_bundle_exec` to true:\n\n```json\n{ \n    \"linters\": {\n        \"rubocop\": {\n            \"use_bundle_exec\": true\n        }\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsublimelinter%2Fsublimelinter-rubocop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsublimelinter%2Fsublimelinter-rubocop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsublimelinter%2Fsublimelinter-rubocop/lists"}