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

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

Build:
DEFAULT BRANCH: main
Ran 09 Jul 2026 11:24PM UTC
Jobs 1
Files 23
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 11:23PM UTC coverage: 91.064% (+0.1%) from 90.937%
29057239428

push

github

web-flow
Add support for YAML modelines (#504)

* feat(no-invalid): resolve YAML schema from yaml-language-server modeline comment

Support '# yaml-language-server: $schema=...' comments so YAML files can
declare their JSON Schema inline, matching VS Code / JetBrains. The modeline
takes precedence over a root $schema property.

Closes #343

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

* docs(no-invalid): document yaml-language-server modeline comment support

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

* chore: add changeset for yaml-language-server modeline support

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

* fix(no-invalid): only detect yaml-language-server modeline in header comments

The modeline scan iterated over all comments in the file, so a
`# yaml-language-server: $schema=...` comment appearing after the root
content could override the root `$schema` property. yaml-language-server
only recognizes the modeline in document-header comments (those preceding
the first content node), so restrict the scan accordingly and fall back to
the root `$schema` otherwise.

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

* feat(no-invalid): support all yaml-language-server and JetBrains modeline syntaxes

Broaden the YAML schema modeline detection to accept every form used by
yaml-language-server and JetBrains IDEs: the `yaml-language-server:` marker
is optional, the separator may be `=` or `:` (with any surrounding spaces),
the space after `#` is optional, and matching is case-insensitive.

Add fixtures covering each accepted form (colon/equals separators, no-space,
case-insensitive, bare `# $schema:`) plus the header-only and precedence
behaviors.

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

* chore: handle schema validation toggle in modeline

* chore: ensure no unintended leading characters per MR

Co-authored-by: Yosuke Ota <otameshiyo23... (continued)

678 of 776 branches covered (87.37%)

Branch coverage included in aggregate %.

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

2909 of 3163 relevant lines covered (91.97%)

237.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29057239428.1 09 Jul 2026 11:24PM UTC 23
91.06
GitHub Action Run
Source Files on build 29057239428
  • Tree
  • List 23
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29057239428
  • 6cf8075b on github
  • Prev Build on main (#29036298655)
  • Next Build on main (#29057317915)
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