dcrossleyau / eslint-plugin-raml

Eslint rules for RAML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"
    ]
}

About

Eslint rules for RAML


Languages

Language:JavaScript 67.5%Language:RAML 32.5%