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

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

Build:
DEFAULT BRANCH: main
Ran 08 Jul 2026 08:56AM 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

08 Jul 2026 08:55AM UTC coverage: 90.193% (+0.4%) from 89.749%
28930333210

push

github

web-flow
Configurable schema cache location and TTL (#505)

* feat: add cache settings helpers (parseTtl, resolveCacheDir)

* feat: add getCacheSettings and cache settings type

* feat: use configurable cache location and TTL for schemastore cache

Wires src/utils/schema.ts to the getCacheSettings() helper from Task 2
instead of the hardcoded module-relative .cached_schemastore path and
1-day TTL constant. The require() same-process fast-path (which never
shipped cached schemas with the package) is replaced by an in-memory
Map keyed by resolved cache file path, preserving the RELOADING
background-refetch behavior.

* docs: document cache settings and add changeset

* fix: accept bare-number ttl strings so "0" means always-refetch

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

* docs: document cache settings in README

Port the schemastore cache settings (cache.path and cache.ttl) into the
README's Advanced Usage section so it stays in sync with the user guide.
tools/update-readme.ts uses the README as the source of truth for the
ADVANCED_USAGE_GUIDE block, so the guide's cache docs would otherwise be
overwritten on the next `npm run update`.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix: keep default schemastore cache location unchanged

Per PR review, revert the default cache directory back to its historical
module-relative location (../.cached_schemastore). The changeset now only
adds the cache.path / cache.ttl configuration options; the default location
is unchanged. Users can set cache.path to persist the cache across runs.

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 %.

108 of 108 new or added lines in 2 files covered. (100.0%)

2615 of 2868 relevant lines covered (91.18%)

253.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28930333210.1 08 Jul 2026 08:56AM UTC 22
90.19
GitHub Action Run
Source Files on build 28930333210
  • 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 #28930333210
  • bb39d3da on github
  • Prev Build on main (#28918318784)
  • Next Build on main (#28930559611)
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