Check your json files (schemas/examples) and raml for errors.
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.
Add raml
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"raml"
]
}