Skip to content
A linter for the ruby language for VS Code
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
images
src Updated dependencies and fixed configuration May 14, 2016
test
typings v0.1 Nov 26, 2015
.gitignore v0.1 Nov 26, 2015
.vscodeignore
LICENSE.txt
README.md
package.json
tsconfig.json
vsc-extension-quickstart.md

README.md

README

"ruby-linter" is a wrapper for ruby -wc.

It expects ruby to be installed and already added to the path. If it is installed but cannot be found, add the path to your preferences as seen below.

{
	"ruby.linter.executablePath": "PathToExecutable"
}

Configuration:

There are various options that can be configured by making changes to your user or workspace preferences.

Lint onType or onSave or not at all

By default the linter will lint on the fly but can be changed to linting as you save. Note that linting on save is most useful when auto-save is on. Use the setting below if to change the behavior with the values onType, onSave, and off.

{
	"ruby.linter.run": "onType"
}

Acknowledgements

The extension architecture is based off of the PHPValidationProvider from the built-in php extension.

You can’t perform that action at this time.