eslint-plugin-json-schema-validator

v5.0.0
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

release

changeset publish

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

vuepress

node --openssl-legacy-provider ./node_modules/vuepress/cli.js

docs:build

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

docs:watch

npm run vuepress -- dev --debug docs

prerelease

yarn test && yarn build

preversion

yarn test && git add .

version:ci

env-cmd -e version-ci yarn update && changeset version

predocs:watch

yarn build:ts

Metadata

  • MIT
  • ^14.18.0 || >=16.0.0
  • Yosuke Ota
  • released 3/23/2024

Downloads