Skip to content

IDE: vscode

Jason Karns edited this page Sep 8, 2019 · 8 revisions
  1. Install the Ruby extension

  2. Enable the Ruby language server in your settings:

    ruby language server

  3. The Ruby:Lint option will direct you to the settings.json file:

    ruby linting

    Enable standard linting by adding the following:

    "ruby.lint": {
      "standard": true
    }
  4. Reload your window to enable the language server and linting. You can confirm that linting is happening by selecting the "Ruby Language Server" in the Output tab.

You can view the ruby extension docs for more configuration options, like defaulting to the bundler-installed version of standard:

"ruby.lint": {
  "standard": {
    "useBundler": true,
  }
}
Clone this wiki locally