Repository navigation
Upgrade Fantomas and apply its formatting - #64
Merged
Merged
Conversation
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
This was referenced Oct 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 tomain. 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 "--" --cipassed 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.