Skip to content

Bump yard-lint from 1.7.0 to 1.8.0#6415

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/bundler/yard-lint-1.8.0
Jun 17, 2026
Merged

Bump yard-lint from 1.7.0 to 1.8.0#6415
github-actions[bot] merged 1 commit into
mainfrom
dependabot/bundler/yard-lint-1.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 17, 2026

Copy link
Copy Markdown
Contributor

Bumps yard-lint from 1.7.0 to 1.8.0.

Release notes

Sourced from yard-lint's releases.

v1.8.0

  • [Feature] Added Documentation/UnderfilledLines (opt-in, disabled by default, severity convention) - the inverse of Documentation/LineLength. Where LineLength flags comment lines that are too long, UnderfilledLines flags documentation prose that wraps too early: text that uses only a fraction of the available width and spills onto extra lines, wasting vertical space (common in AI-generated docs). It reports one offense per wasteful paragraph, and only when greedily re-wrapping the paragraph's words at MaxLength would genuinely use fewer lines, the widest line wastes at least MinTrailingSpace columns (default 20), and the paragraph is not deliberately broken one sentence/clause per line. Only the free-text description body is checked - YARD tags, fenced/indented code, lists, tables, headings, blockquotes and non-ASCII text are skipped. Because "this line should have been longer" is a stylistic judgement, the validator is deliberately conservative (biased toward not producing false positives) and stays opt-in; projects that use semantic line breaks (one sentence/clause per line, see sembr.org) are never flagged. Configurable via MaxLength, MinTrailingSpace, MinParagraphLines, SentenceEndChars, and SkipNonAscii.
  • [Change] Centralized source-file reading into Validators::Base#cached_lines (shared by Documentation/LineLength and Documentation/UnderfilledLines instead of being duplicated in each), and made it scrub invalid bytes so a non-UTF-8 source file can no longer raise Encoding::CompatibilityError while a validator matches a regex against its lines.
Changelog

Sourced from yard-lint's changelog.

1.8.0 (2026-06-17)

  • [Feature] Added Documentation/UnderfilledLines (opt-in, disabled by default, severity convention) - the inverse of Documentation/LineLength. Where LineLength flags comment lines that are too long, UnderfilledLines flags documentation prose that wraps too early: text that uses only a fraction of the available width and spills onto extra lines, wasting vertical space (common in AI-generated docs). It reports one offense per wasteful paragraph, and only when greedily re-wrapping the paragraph's words at MaxLength would genuinely use fewer lines, the widest line wastes at least MinTrailingSpace columns (default 20), and the paragraph is not deliberately broken one sentence/clause per line. Only the free-text description body is checked - YARD tags, fenced/indented code, lists, tables, headings, blockquotes and non-ASCII text are skipped. Because "this line should have been longer" is a stylistic judgement, the validator is deliberately conservative (biased toward not producing false positives) and stays opt-in; projects that use semantic line breaks (one sentence/clause per line, see sembr.org) are never flagged. Configurable via MaxLength, MinTrailingSpace, MinParagraphLines, SentenceEndChars, and SkipNonAscii.
  • [Change] Centralized source-file reading into Validators::Base#cached_lines (shared by Documentation/LineLength and Documentation/UnderfilledLines instead of being duplicated in each), and made it scrub invalid bytes so a non-UTF-8 source file can no longer raise Encoding::CompatibilityError while a validator matches a regex against its lines.
Commits
  • c9dd4d9 Docs: surface Documentation/UnderfilledLines in README; validator count 35 ->...
  • 0ae670b Merge pull request #264 from mensfeld/v1.8.0
  • 86a97b9 Merge pull request #263 from mensfeld/renovate/ruby-setup
  • ac52364 Update ruby setup to v1.313.0
  • 7a9a308 Hoist cached_lines to Validators::Base; add end-to-end tests (#262)
  • 0fb3e74 Add Documentation/UnderfilledLines validator (inverse of LineLength) (#261)
  • 5d58f86 Sync README with 1.7.0 (unreleased) changes (#260)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [yard-lint](https://github.com/mensfeld/yard-lint) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/mensfeld/yard-lint/releases)
- [Changelog](https://github.com/mensfeld/yard-lint/blob/master/CHANGELOG.md)
- [Commits](mensfeld/yard-lint@v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: yard-lint
  dependency-version: 1.8.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Jun 17, 2026
@github-actions github-actions Bot enabled auto-merge June 17, 2026 15:32
@codacy-production

codacy-production Bot commented Jun 17, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity

Metric Results
Complexity 0

View in Codacy

🟢 Coverage ∅ diff coverage · +0.00% coverage variation

Metric Results
Coverage variation +0.00% coverage variation (-1.00%)
Diff coverage diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (859b2a8) 7279 6062 83.28%
Head commit (06d19bf) 7279 (+0) 6062 (+0) 83.28% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#6415) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@github-actions github-actions Bot merged commit 05359c1 into main Jun 17, 2026
16 checks passed
@github-actions github-actions Bot deleted the dependabot/bundler/yard-lint-1.8.0 branch June 17, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants