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-copby typing the following in a terminal:npm install -g raml-cop -
If you are using
nvmandzsh, ensure that the line to loadnvmis in.zshenvand not.zshrc. -
If you are using
zshandoh-my-zsh, do not load thenvmplugin 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