Skip to content

Widen Prettier scope to cover all files#39

Merged
mschristensen merged 2 commits intomainfrom
fix-prettier-scope
Apr 14, 2026
Merged

Widen Prettier scope to cover all files#39
mschristensen merged 2 commits intomainfrom
fix-prettier-scope

Conversation

@lawrence-forooghian
Copy link
Copy Markdown
Contributor

@lawrence-forooghian lawrence-forooghian commented Apr 13, 2026

Summary

The format:check and format scripts only covered src/ and demo source directories, so a bunch of files e.g. tests were never checked by CI. But, even more annoyingly, I found Claude would sometimes explicitly run prettier --write on excluded files that it edited, thus introducing diff noise.

Instead, match ably-js's approach of formatting everything (relying on Prettier's automatic ignoral of gitignored stuff).

🤖 Generated with Claude Code

@lawrence-forooghian lawrence-forooghian force-pushed the fix-prettier-scope branch 3 times, most recently from 2d6895f to e43e5dd Compare April 13, 2026 12:53
@lawrence-forooghian lawrence-forooghian changed the title Include test files in prettier scope Widen prettier scope to cover all files Apr 13, 2026
@lawrence-forooghian lawrence-forooghian force-pushed the fix-prettier-scope branch 2 times, most recently from 7c39fdd to be67322 Compare April 13, 2026 12:59
@lawrence-forooghian lawrence-forooghian marked this pull request as draft April 13, 2026 13:13
@lawrence-forooghian lawrence-forooghian changed the title Widen prettier scope to cover all files Widen Prettier scope to cover all files Apr 13, 2026
@lawrence-forooghian lawrence-forooghian marked this pull request as ready for review April 13, 2026 13:36
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 13, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 92.7% 1982 / 2138
🔵 Statements 90.92% 2123 / 2335
🔵 Functions 93.26% 360 / 386
🔵 Branches 77.98% 889 / 1140
File CoverageNo changed files found.
Generated in workflow #74 for commit 878d09d by the Vitest Coverage Report Action

@github-actions github-actions bot temporarily deployed to staging/pull/39/typedoc April 13, 2026 13:52 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/39/typedoc April 13, 2026 13:56 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/39/typedoc April 13, 2026 14:11 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/39/typedoc April 13, 2026 14:17 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/39/typedoc April 13, 2026 14:23 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/39/typedoc April 13, 2026 14:27 Inactive
@lawrence-forooghian lawrence-forooghian requested review from a team, VeskeR and owenpearson and removed request for a team and owenpearson April 13, 2026 14:34
mschristensen and others added 2 commits April 14, 2026 17:20
Switch format scripts from explicit path lists to `prettier .`
(matching ably-js's approach). Submodules (ably-common, specification)
are excluded via .prettierignore.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mschristensen mschristensen enabled auto-merge (rebase) April 14, 2026 16:26
@mschristensen mschristensen merged commit c5788ce into main Apr 14, 2026
12 checks passed
@mschristensen mschristensen deleted the fix-prettier-scope branch April 14, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants