• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ota-meshi / eslint-plugin-json-schema-validator / 29000581001
91%

Build:
DEFAULT BRANCH: main
Ran 09 Jul 2026 07:08AM UTC
Jobs 1
Files 22
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Jul 2026 07:07AM UTC coverage: 90.204% (+0.01%) from 90.193%
29000581001

push

github

web-flow
Support AJV Formats in validation (#507)

* chore: add optional ajv-formats peer dependency

* feat: support ajv-formats via lazy, per-option Ajv instances

* feat(no-invalid): add validateFormats option

Expose the validateFormats rule option (wired in compile() by Task 2)
through the no-invalid options schema, and add integration fixtures
proving opt-in format validation reports an error while the default
(off) does not.

* docs(no-invalid): document validateFormats option

* style: autoformatter

* chore: missing lockfile update

* feat(no-invalid)!: validate formats by default and remove validateFormats option

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* refactor: simplify ajv setup and move format tests to fixtures

Revert the lazy buildAjv()/getAjv() indirection back to main's
module-level Ajv singleton, keeping only the addFormats() registration.
The factory only existed to support the removed validateFormats option.

Replace the standalone compile() unit test (and its fake RuleContext
cast) with a valid/validate-formats fixture, matching the repo's
fixture-driven convention. The invalid fixture already covers the
error case.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

604 of 701 branches covered (86.16%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 1 file covered. (100.0%)

2619 of 2872 relevant lines covered (91.19%)

253.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29000581001.1 09 Jul 2026 07:08AM UTC 22
90.2
GitHub Action Run
Source Files on build 29000581001
  • Tree
  • List 22
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29000581001
  • e4795b1b on github
  • Prev Build on main (#28998022013)
  • Next Build on main (#29001337428)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc