{"id":13992024,"url":"https://github.com/AtomLinter/linter-rubocop","last_synced_at":"2025-07-22T15:30:51.646Z","repository":{"id":16831275,"uuid":"19590702","full_name":"AtomLinter/linter-rubocop","owner":"AtomLinter","description":"Linter plugin for Ruby, using rubocop","archived":true,"fork":false,"pushed_at":"2023-07-28T18:56:07.000Z","size":1314,"stargazers_count":85,"open_issues_count":28,"forks_count":53,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-29T12:38:05.479Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/AtomLinter.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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}},"created_at":"2014-05-08T22:13:34.000Z","updated_at":"2024-10-22T22:30:42.000Z","dependencies_parsed_at":"2024-01-08T07:59:24.470Z","dependency_job_id":null,"html_url":"https://github.com/AtomLinter/linter-rubocop","commit_stats":null,"previous_names":[],"tags_count":55,"template":false,"template_full_name":null,"purl":"pkg:github/AtomLinter/linter-rubocop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtomLinter%2Flinter-rubocop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtomLinter%2Flinter-rubocop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtomLinter%2Flinter-rubocop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtomLinter%2Flinter-rubocop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AtomLinter","download_url":"https://codeload.github.com/AtomLinter/linter-rubocop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AtomLinter%2Flinter-rubocop/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266520586,"owners_count":23942294,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-08-09T14:01:44.727Z","updated_at":"2025-07-22T15:30:51.187Z","avatar_url":"https://github.com/AtomLinter.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# linter-rubocop\n\n[![Gitter](https://img.shields.io/badge/gitter-join%20chat-1dce73.svg?style=flat)](https://gitter.im/AtomLinter/Linter?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n[![Build Status](https://travis-ci.org/AtomLinter/linter-rubocop.svg?branch=master)](https://travis-ci.org/AtomLinter/linter-rubocop)\n[![Plugin installs!](https://img.shields.io/apm/dm/linter-rubocop.svg)](https://atom.io/packages/linter-rubocop)\n[![Package version!](https://img.shields.io/apm/v/linter-rubocop.svg?style=flat)](https://atom.io/packages/linter-rubocop)\n[![Dependencies!](https://david-dm.org/AtomLinter/Linter.svg)](https://david-dm.org/AtomLinter/linter-rubocop)\n\nThis linter plugin for [Linter](https://github.com/AtomLinter/Linter) provides\nan interface to [rubocop](https://github.com/bbatsov/rubocop). It will be used\nwith files that have the “Ruby” syntax.\n\n## Installation\n\nLinter package must be installed in order to use this plugin. If Linter is not\ninstalled, please follow the instructions [here](https://github.com/AtomLinter/Linter).\n\n### `rubocop` installation\n\nBefore using this plugin, you must ensure that `rubocop`, version 0.37 or\ngreater, is installed on your system. To install `rubocop`, do the following:\n\n1.  Install [ruby](https://www.ruby-lang.org/).\n\n2.  Install [rubocop](https://github.com/bbatsov/rubocop) by typing the\n    following in a terminal:\n\n    ```shell\n    gem install rubocop\n    ```\n\nNow you can proceed to install the linter-rubocop plugin.\n\n### Plugin installation\n\n```shell\napm install linter-rubocop\n```\n\n## Settings\n\nYou can configure linter-rubocop by editing `~/.atom/config.cson`\n(choose Open Your Config in Atom menu):\n\n### Using RVM\n\nIf you're using RVM and receiving errors in Atom that indicate Rubocop can't be\nfound, you may need to change `/bin` to `/wrappers` in the path that gets\nreturned from `which rubocop` before using it as your `command` setting.\nFor example, change:\n\n```cson\n\"linter-rubocop\":\n  command: \"/Users/JohnDoe/.rvm/gems/ruby-2.2.4@global/bin/rubocop\"\n```\n\nTo:\n\n```cson\n\"linter-rubocop\":\n  command: \"/Users/JohnDoe/.rvm/gems/ruby-2.2.4@global/wrappers/rubocop\"\n```\n### Using `rbenv`\n\nIf you're using `rbenv`, it's recommended that you set your `command` to point to the Rubocop shim. This way, when you upgrade Ruby, the command will be a pointer to a Rubocop executable, regardless of your current Ruby version.\n\n```cson\n\"linter-rubocop\":\n  command: \"/Users/JohnDoe/.rbenv/shims/rubocop\"\n```\n\n### Using `chruby`\n\nIf you're using `chruby `, it's recommended that you set your `command` to execute `chruby-exec` to set version and run `rubocop`. Alternatively, you can reference the full intended path.\n\n```cson\n\"linter-rubocop\":\n  command: \"/usr/local/bin/chruby-exec 2.5.0 -- rubocop\"\n```\n\nor\n\n```cson\n\"linter-rubocop\":\n  command: \"/Users/JohnDoe/.gem/ruby/2.5.1/bin/rubocop\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAtomLinter%2Flinter-rubocop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAtomLinter%2Flinter-rubocop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAtomLinter%2Flinter-rubocop/lists"}