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

ota-meshi / eslint-plugin-yml / 21091267163
90%

Build:
DEFAULT BRANCH: master
Ran 17 Jan 2026 08:15AM UTC
Jobs 1
Files 45
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

17 Jan 2026 08:14AM UTC coverage: 89.671% (-0.6%) from 90.311%
21091267163

push

github

web-flow
Add ESLint language plugin support (#532)

* Initial plan

* Add ESLint language plugin support with YAMLLanguage implementation

Co-authored-by: ota-meshi <16508807+ota-meshi@users.noreply.github.com>

* Add changeset for ESLint language plugin support

Co-authored-by: ota-meshi <16508807+ota-meshi@users.noreply.github.com>

* Fix getTokensBetween signature for better type consistency

Co-authored-by: ota-meshi <16508807+ota-meshi@users.noreply.github.com>

* Update add-language-plugin-support.md

* Add test cases for language plugin support

- Add tests/src/language/directive-comments.ts for ESLint directive comment functionality
- Add tests/src/language/yaml-source-code.ts for YAMLSourceCode class methods
- Tests cover eslint-disable, eslint-enable, eslint-disable-line, eslint-disable-next-line
- Tests cover inline configuration comments
- Tests cover YAMLSourceCode token and comment retrieval methods
- All 45 new tests passing, total 5153 tests pass

Co-authored-by: ota-meshi <16508807+ota-meshi@users.noreply.github.com>

* Add token-store and core-rules compatibility tests

- Add tests/src/language/token-store.ts for comprehensive TokenStore testing
- Add tests/src/language/yaml-source-code-with-core-rules.ts for ESLint core rules compatibility
- TokenStore tests cover all methods: getFirstToken, getLastToken, getTokenBefore/After, getTokens, getTokensBetween, getComments
- Core rules test ensures all ESLint built-in rules don't crash with yml/yaml language
- 320 new tests added (28 TokenStore + 292 core rules tests)
- Total: 5,473 tests passing

Co-authored-by: ota-meshi <16508807+ota-meshi@users.noreply.github.com>

* Fix linting errors - remove trailing whitespace

Fixed prettier/prettier errors in yaml-source-code.ts test file by removing trailing whitespace from 3 lines.

Co-authored-by: ota-meshi <16508807+ota-meshi@users.noreply.github.com>

* Update add-language-plugin-support.md

* Refactor token-store tests to remove getPair helper

Rem... (continued)

1612 of 1888 branches covered (85.38%)

Branch coverage included in aggregate %.

278 of 314 new or added lines in 5 files covered. (88.54%)

2963 of 3214 relevant lines covered (92.19%)

629.67 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
14
83.43
src/language/yaml-source-code.ts
22
82.58
src/language/token-store.ts
Jobs
ID Job ID Ran Files Coverage
1 21091267163.1 17 Jan 2026 08:15AM UTC 45
89.67
GitHub Action Run
Source Files on build 21091267163
  • Tree
  • List 45
  • 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 #21091267163
  • 40eb4bee on github
  • Prev Build on master (#21090148641)
  • Next Build on master (#21099898859)
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