https://github.com/sublimelinter/sublimelinter-raml-cop
SublimeLinter plugin for RAML, using raml-cop.
https://github.com/sublimelinter/sublimelinter-raml-cop
Last synced: 9 months ago
JSON representation
SublimeLinter plugin for RAML, using raml-cop.
- Host: GitHub
- URL: https://github.com/sublimelinter/sublimelinter-raml-cop
- Owner: SublimeLinter
- License: mit
- Created: 2019-10-03T17:21:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-24T10:30:00.000Z (10 months ago)
- Last Synced: 2025-04-24T11:33:14.511Z (10 months ago)
- Language: Python
- Size: 13.7 KB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SublimeLinter-raml-cop
================================
[](https://travis-ci.org/SublimeLinter/SublimeLinter-raml-cop)
This linter plugin for [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter) provides an interface to [raml-cop](https://github.com/thebinarypenguin/raml-cop).
## Installation
SublimeLinter must be installed in order to use this plugin.
Install via [Package Control](https://packagecontrol.io) 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](http://nodejs.org) (and [npm](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager) 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”](http://sublimelinter.readthedocs.org/en/latest/troubleshooting.html#finding-a-linter-executable) through “Validating your PATH” in the documentation
## Settings
- SublimeLinter settings: http://sublimelinter.com/en/latest/settings.html
- Linter settings: http://sublimelinter.com/en/latest/linter_settings.html