Skip to content

Enable all Herb lint rules and template formatting - #2804

Merged
joelhawksley merged 5 commits into
mainfrom
joelhawksley-herb-tooling-rollout
Nov 30, 2026
Merged

joelhawksley merged 5 commits into
mainfrom
joelhawksley-herb-tooling-rollout

Conversation

@joelhawksley

@joelhawksley joelhawksley commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

Agent assessment

Self-reported assessment, not an independent review.

Assessed revision: 6b59c7bf5525025e163a0a08cb1287c84d67cadb

Dimension Assessment Rationale
Change confidence 9/10 ↑ Merged main's rubyfmt adoption while retaining Herb enforcement, accessible status markup, and structural Turbo Stream assertions.
↑ After merging, all 171 rules pass across 217 templates; all 216 formattable files pass. rubyfmt, embedded Ruby lint, changed Ruby style checks, and 228 Rails 8.1 rendering, integration, browser, and allocation tests pass.
↑ Before merging, targeted suites passed on Rails 7.1, 7.2, 8.0, and Rails main; Ruby-head allocation tests passed using isolated source-platform bundles with rubydex 0.4.1.
↓ The formatter is experimental. Other appraisal suites weren't rerun after merging; latest CI remains unverified.

What are you trying to accomplish?

Enable all Herb lint rules, template formatting, Tailwind class sorting, and editor support in one pull request.

What approach did you choose and why?

Pin the npm tools, share configuration, fix existing findings, and enforce lint and formatting in CI. Keep ERB Lint only for embedded Ruby checks. Exclude all .tt generator templates from Herb.

Anything you want to highlight for special attention from reviewers?

Keep narrow exceptions for deliberate compatibility coverage and generated Markdown. Remove six avoidable file-level exceptions using semantic visibility and status markup, structural Turbo Stream assertions, formatter-safe yielded text, and remeasured allocation expectations. No rendering-engine or runtime dependency changes.

joelhawksley and others added 5 commits November 30, 2026 10:57
Enable every lint rule, formatting, Tailwind class sorting, and editor support with pinned development packages and CI enforcement. Preserve compatibility and exact-output fixtures with documented exceptions, while retaining embedded Ruby linting.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Use semantic hidden and accessible status markup, assert Turbo Stream structure, format product and yielding fixtures, and update measured allocation expectations across Rails versions.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Retain main's rubyfmt adoption alongside Herb CI and keep the accessible status and structural Turbo Stream assertions in rubyfmt style.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@joelhawksley
joelhawksley merged commit 6b7ffa5 into main Nov 30, 2026
32 checks passed
@joelhawksley
joelhawksley deleted the joelhawksley-herb-tooling-rollout branch November 30, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant