Skip to content

Upgrade Fantomas and apply its formatting - #64

Merged
bitsforthought merged 2 commits into
mainfrom
maintenance/fantomas-8.0.8
Oct 10, 2026
Merged

bitsforthought merged 2 commits into
mainfrom
maintenance/fantomas-8.0.8

Conversation

@bitsforthought

Copy link
Copy Markdown
Owner

Upgrade Fantomas from 7.0.3 to 8.0.8 and include the formatting it requires, replacing the version-only upgrade in #57.

The seven affected F# source, test and infrastructure files were formatted by npm run format, not manually refactored. Their non-whitespace source text is identical to main. Formatter settings and Fable versions are unchanged.

This is a standalone PR against main, independent of the Prettier upgrade in #63. It supersedes the Fantomas portion of #56, but does not implement that PR's Fable upgrades or the separate Fable PR #61.

Validation: npm run validate "--" --ci passed on Windows, including formatting, infrastructure self-tests, Fable generation, the production build, both test suites and coverage ratchets. Three-model adversarial review reported no findings. CI will check Ubuntu and Windows.

bitsforthought and others added 2 commits October 9, 2026 23:01
Update the local Fantomas tool from 7.0.3 to 8.0.8 and apply its formatting
to the affected F# source, tests and infrastructure scripts. Keeping the
reformatting with the version bump avoids the FormatByPolicy failure in
the version-only Dependabot PR.

Preserve formatter settings, Fable versions and all non-whitespace F#
source text. Deliver this upgrade independently of the Fable updates.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 69277274-81a0-4daf-a296-338ec77f649f
The .editorconfig section holding the maintainer's Fantomas settings matched
only *.fs, so .fsx scripts silently received Fantomas defaults. Under
Fantomas 8 that meant the new aligned bracket default rather than the
Stroustrup style used everywhere else. Widen the section to *.{fs,fsx} and
reformat the four build scripts so all F# follows one style.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 69277274-81a0-4daf-a296-338ec77f649f
@bitsforthought bitsforthought self-assigned this Oct 10, 2026
@bitsforthought
bitsforthought merged commit c1b01f4 into main Oct 10, 2026
2 checks passed
@bitsforthought
bitsforthought deleted the maintenance/fantomas-8.0.8 branch October 10, 2026 06:21
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