Skip to content

[avenger] ## Fix prettier formatting in eslint-factory rules - #50574

Merged
pelikhan merged 1 commit into
mainfrom
avenger/fix-format-1383-afc0fce53d99c2f5
Aug 5, 2026
Merged

[avenger] ## Fix prettier formatting in eslint-factory rules#50574
pelikhan merged 1 commit into
mainfrom
avenger/fix-format-1383-afc0fce53d99c2f5

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

CI on main was failing due to unformatted TypeScript in two eslint-factory rule files introduced by the recent WIP commit (fb136c8). Prettier wanted the long description/requireNaNCheck string properties wrapped onto their own lines.

Fixes applied

  • eslint-factory/src/rules/prefer-structured-clone.ts — reformatted long description property.
  • eslint-factory/src/rules/require-nan-check-after-env-numeric-parse.ts — reformatted long requireNaNCheck message property.

Verification

  • make fmt — code formatted successfully (only these 2 files changed).
  • make update-wasm-goldenTestWasmGolden_AllEngines PASS.
  • make lint — JavaScript lint validated with 0 errors (73 pre-existing warnings unaffected).
  • make test-unit — no impacted Go tests; changes are TS-only formatting.
Environment note

The sandbox ships Go 1.25.12 while go.mod requires 1.26.5; steps were run with GOTOOLCHAIN=auto to fetch the correct toolchain. golangci-lint is not installed in the sandbox, so the Go lint sub-step could not run, but no Go sources were modified.

Generated by 🦸 Avenger · haiku45 · 102.3 AIC · ⌖ 51.8 AIC · ⊞ 5.2K ·

  • expires on Aug 7, 2026, 6:28 AM UTC-08:00

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@pelikhan
pelikhan marked this pull request as ready for review August 5, 2026 14:44
Copilot AI balanced review requested due to automatic review settings August 5, 2026 14:44
@pelikhan
pelikhan merged commit 04f0e42 into main Aug 5, 2026
6 checks passed
@pelikhan
pelikhan deleted the avenger/fix-format-1383-afc0fce53d99c2f5 branch August 5, 2026 14:44

Copilot AI 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.

Pull request overview

Formats two long TypeScript string properties to satisfy Prettier without changing behavior.

Changes:

  • Wraps the numeric-parse validation message.
  • Wraps the structured-clone rule description.
Show a summary per file
File Description
eslint-factory/src/rules/require-nan-check-after-env-numeric-parse.ts Formats the requireNaNCheck message.
eslint-factory/src/rules/prefer-structured-clone.ts Formats the rule description.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Balanced

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

PR Code Quality Reviewer completed the code quality review.

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

Design Decision Gate 🏗️ completed the design decision gate check.

No ADR enforcement needed: PR does not have the implementation label and has 0 new lines of code in business logic directories.

@github-actions github-actions Bot mentioned this pull request Aug 5, 2026
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

Test Quality Sentinel completed test quality analysis.

No test files were added or modified in this PR. Test Quality Sentinel skipped.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Skills-Based Review 🧠

Applied /codebase-design — no issues found. This is a pure Prettier formatting fix: two long string literals wrapped onto their own lines to satisfy the formatter. The changes are correct, minimal, and consistent with the project's formatting conventions.

Approved — no actionable issues.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · sonnet46 · 13.6 AIC · ⌖ 7.72 AIC · ⊞ 7.1K
Comment /matt to run again

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Verdict: no blocking issues

This PR is a pure Prettier reformat: two long string literals (description and requireNaNCheck) are wrapped onto their own line via key: "value". No logic, control flow, or runtime behavior changes.

💡 Review notes
  • Diff is a whitespace-only change confirmed by identical string content before/after.
  • No new code paths, no test impact expected.
  • Nothing in this diff warrants inline comments.

🔎 Code quality review by PR Code Quality Reviewer · auto · 8.84 AIC · ⌖ 3.64 AIC · ⊞ 7.9K
Comment /review to run again

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

🎉 This pull request is included in a new release.

Release: v0.85.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants