distortedsignal / SublimeLinter-raml-cop

SublimeLinter plugin for RAML, using raml-cop.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

SublimeLinter plugin for RAML, using raml-cop.

License:MIT License


Languages

Language:Python 100.0%