Skip to content

Conversation

@grandizzy
Copy link
Collaborator

@grandizzy grandizzy commented Oct 24, 2025

0xrusowsky and others added 2 commits October 24, 2025 18:03
…-rs#12241)

* fix(fmt): only print trailing cmnts in opening brace when block is not
empty

* doc: link issue

---------

Co-authored-by: grandizzy <[email protected]>
* fix(fmt): preserve indexed callee when it fits

* style: typos
* fix(forge): fix dynamic gas limit check

* add repro
grandizzy and others added 4 commits October 25, 2025 12:16
* feat(fmt): force doc comment styling

* tests: add unit tests

* style: clippy + comments

* fix: default config test
…rs#12281)

* fix: indentation in operator exprs with parentheses

* docs: new param

* feat: prefer_compact

* fix: test

* style: typo

* fix: default config test

* Fix wrap comments test

* fix: emit and revert

---------

Co-authored-by: grandizzy <[email protected]>
@grandizzy grandizzy self-assigned this Oct 27, 2025
@grandizzy grandizzy moved this to In Progress in Foundry Oct 27, 2025
0xrusowsky and others added 12 commits October 27, 2025 13:04
…ne line (foundry-rs#12303)

* add single_line_imports option to keep single imports on one line

* update readme

* add tests for single_line_imports feature + fmt

* fix clippy and simplify the code

* fix test failed

* fix: simplify

---------

Co-authored-by: 0xrusowsky <[email protected]>
Co-authored-by: grandizzy <[email protected]>
* fix(fmt): only indent wrapped trailing cmnts which are line cmnts

* style: flip

---------

Co-authored-by: grandizzy <[email protected]>
)

* fix(fmt): don't break var assignments when callee fits

* fix: deindent calls (exception)
* fix(fmt): properly calc fn header size

* docs: add more cmnts

* fix: revert bun.lock changes
…12350)

* fix(fmt): properly calc fn header size

* docs: add more cmnts

* fix: revert bun.lock changes

* test: estimate_header_size

* simplify tests

* style: clippy
…dry-rs#12359)

* fix(fmt): always break consistently in calls with opts and args

* more tests

* test: simplify
@grandizzy grandizzy marked this pull request as ready for review October 30, 2025 12:47
@grandizzy grandizzy changed the title [WIP] fix: Backport fmt and script fixes to v1.4.4 fix: Backport fmt and script fixes to v1.4.4 Oct 30, 2025
@grandizzy grandizzy merged commit 0579449 into foundry-rs:release-1.4.0 Oct 30, 2025
14 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Foundry Oct 30, 2025
@grandizzy grandizzy deleted the backport-v1.4.4 branch October 30, 2025 15:13
@grandizzy grandizzy moved this from Done to Completed in Foundry Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Completed

Development

Successfully merging this pull request may close these issues.

3 participants