/eslint-plugin-raml

Eslint rules for RAML

Primary LanguageJavaScript

eslint-plugin-raml

Build Status Dependency Status devDependency Status Coverage Status

Check your json files (schemas/examples) and raml for errors.

NPM

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-raml:

$ npm install eslint-plugin-raml --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-raml globally.

Usage

Add raml to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "raml"
    ]
}