eslint-plugin-json-schema-validator

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

ts

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 .

re-migrate

yarn ts tools/update-schemastore/re-migrate

predocs:watch

yarn build:ts

update:schemastore

yarn ts tools/update-schemastore

update:schemastore-only

yarn ts tools/update-schemastore/only

Metadata

  • MIT
  • ^14.17.0 || >=16.0.0
  • Yosuke Ota
  • released 7/6/2022

Downloads