jsonnext / codemirror-json-schema

A JSONSchema enabled mode for codemirror 6, for json4 and json5, inspired by monaco-json
https://codemirror-json-schema.netlify.app
MIT License
56 stars 9 forks source link

Export JSONValidation from ./json-validation.js #100

Closed simonfrayer closed 1 month ago

simonfrayer commented 1 month ago

Currently it is only jsonSchemaLinter, JSONValidationOptions, and handleRefresh that are exported. It would be great to have the JSONValidation together with doValidation() exported so that custom checks can be performed.

Currently exported: image

Would be nice to have: image