eslint-plugin-json-schema-validator

v4.0.3
ESLint plugin that validates data using JSON Schema Validator.
eslint eslintplugin eslint-plugin validator validation jsonschema json-schema

ts

env-cmd -e base node -r esbuild-register

new

yarn ts ./tools/new-rule

lint

eslint . --ext .js,.vue,.ts,.json,.md,.toml,.yaml,.yml

test

env-cmd -e test yarn mocha "tests/src/**/*.ts" --reporter dot --timeout 60000

build

yarn build:ts

clean

rimraf .nyc_output dist coverage

cover

nyc --reporter=lcov yarn test

mocha

yarn ts node_modules/mocha/bin/mocha

update

yarn ts ./tools/update && yarn lint-fix

version

env-cmd -e version yarn update && git add .

build:ts

tsc --project ./tsconfig.build.json

lint-fix

yarn lint --fix

prebuild

yarn -s clean

docs:build

yarn build:ts && vuepress build docs --no-cache

docs:watch

vuepress dev --debug docs

preversion

yarn test && git add .

predocs:watch

yarn build:ts

Metadata

  • MIT
  • ^14.18.0 || >=16.0.0
  • Yosuke Ota
  • released 11/16/2022

Downloads