Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.58 KB

README.md

File metadata and controls

32 lines (19 loc) · 1.58 KB

SublimeLinter-raml-cop

Build Status

This linter plugin for SublimeLinter provides an interface to raml-cop.

Installation

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:

  1. Install Node.js (and npm on Linux).

  2. Install raml-cop by typing the following in a terminal:

    npm install -g raml-cop
    
  3. If you are using nvm and zsh, ensure that the line to load nvm is in .zshenv and not .zshrc.

  4. If you are using zsh and oh-my-zsh, do not load the nvm plugin for oh-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

Settings