0.3.2 • Published 7 years ago
@manu1400/eslint-plugin-jsonschema
Licence
ISC
Version
0.3.2
Deps
3
Size
42 kB
Vulns
3
Weekly
0
eslint-plugin-jsonschema
eslint plugin for jsonschema
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install @manu1400/eslint-plugin-jsonschema:
$ npm install @manu1400/eslint-plugin-jsonschema --save-dev
Note: If you installed ESLint globally (using the -g flag) then you must also install @manu1400/eslint-plugin-jsonschema globally.
Usage
Add jsonschema to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"jsonschema"
],
"settings": {
"jsonschema": {
"schemaDirectory": [ "/path/to/schema" ]
}
}
}
TODO: add badge size: https://bundlephobia.com/result?p=eslint-plugin-jsonschema@0.2.0