This linter plugin for SublimeLinter provides an interface to raml-cop.
SublimeLinter must be installed in order to use this plugin.
Install via Package Control or git clone
as usual.
Ensure that raml-cop
is installed on your system. To install raml-cop
, do the following:
-
Install
raml-cop
by typing the following in a terminal:npm install -g raml-cop
-
If you are using
nvm
andzsh
, ensure that the line to loadnvm
is in.zshenv
and not.zshrc
. -
If you are using
zsh
andoh-my-zsh
, do not load thenvm
plugin foroh-my-zsh
.
In order for raml-cop
to be executed by SublimeLinter, you must ensure that its path is available to SublimeLinter. Before going any further, please read and follow the steps in “Finding a linter executable” through “Validating your PATH” in the documentation
- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html