Skip to content

build: update @electron/lint-roller to 4.0.0 - #1226

Closed
MarshallOfSound wants to merge 2 commits into
mainfrom
claude/lint-roller-4
Closed

MarshallOfSound wants to merge 2 commits into
mainfrom
claude/lint-roller-4

Conversation

@MarshallOfSound

Copy link
Copy Markdown
Member

Description of Change

Bumps @electron/lint-roller to 4.0.0, which drops the transitive eslint/standard dependency tree; the shared markdownlint config and custom rules this repo uses are unchanged.

lint-roller-markdown-links no longer has a --fetch-external-links mode (electron/lint-roller#203, too many sites block automated fetches), so check-blog-links.yml drops that flag and keeps validating relative links and static/ resources in new blog posts. While there, the step now uses xargs -r so a PR that only removes posts doesn't run the linter with no files and fail on its usage message.

oxlint stays at ^1.57.0: lint-roller 4 lists oxlint >= 1.65 as a peer for its new lint-roller-markdown-oxlint command, which this repo doesn't use, and a newer oxlint flags a handful of React findings in src/ that are better handled separately. Expect a peer warning on install until then.

Checklist


Generated by Claude Code

lint-roller 4 drops the eslint/standard dependency tree and no longer
offers external link fetching in lint-roller-markdown-links, so the blog
post link check keeps validating relative links and static resources
without that option.
With no filenames on stdin, xargs still ran lint-roller-markdown-links
once with no globs, which prints usage and fails the job.
@MarshallOfSound
MarshallOfSound requested a review from a team as a code owner September 20, 2026 00:30
@socket-security

socket-security Bot commented Sep 20, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​electron/​lint-roller@​3.3.0 ⏵ 4.0.093 +910092 +690 +8100

View full report

@socket-security

socket-security Bot commented Sep 20, 2026

Copy link
Copy Markdown

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring alerts on:

  • @electron/lint-roller@4.0.0

View full report

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying electron-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 13ad0d3
Status: ✅  Deploy successful!
Preview URL: https://5a29d9f8.electron-website.pages.dev
Branch Preview URL: https://claude-lint-roller-4.electron-website.pages.dev

View logs

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review found no issues

No high-confidence issues detected in this change.

@MarshallOfSound

Copy link
Copy Markdown
Member Author

@SocketSecurity ignore npm/@electron/lint-roller@4.0.0

claude Bot pushed a commit that referenced this pull request Sep 20, 2026
Use xargs -r so lint-roller-markdown-links is not invoked with no files
when a PR only removes posts. Ported from #1226.

Co-Authored-By: Samuel Attard <MarshallOfSound@users.noreply.github.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MpGBviMFFyBDsWe7wfW3eV
@claude

claude Bot commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Closing in favor of #1224, which has the same bump and now also carries the xargs -r change from this PR (credited via Co-authored-by). Requested by Samuel in Slack.


Generated by Claude Code

@claude claude Bot closed this Sep 20, 2026
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.

2 participants