This linter plugin for SublimeLinter provides an interface to erblint. It will be used with files that have the “erb” syntax.
SublimeLinter must be installed in order to use this plugin.
Please use Package Control to install the linter plugin.
Before installing this plugin, you must ensure that erblint
is installed on your system.
-
Install Ruby.
-
Install
erblint
by typing the following in a terminal:[sudo] gem install erb_lint
-
If you are using
rvm
orrbenv
, ensure that they are loaded in your shell’s correct startup file. See here for more information.
In order for erblint
to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. The docs cover troubleshooting PATH configuration.
- SublimeLinter settings: http://sublimelinter.readthedocs.org/en/latest/settings.html
- Linter settings: http://sublimelinter.readthedocs.org/en/latest/linter_settings.html