Skip to content

Conversation

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 <38490174+grandizzy@users.noreply.github.com>
* 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 <grandizzy.the.egg@gmail.com>
@grandizzy grandizzy self-assigned this Oct 27, 2025
@grandizzy grandizzy moved this to In Progress in Foundry Oct 27, 2025
0xrusowsky and others added 7 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 <0xrusowsky@proton.me>
Co-authored-by: grandizzy <38490174+grandizzy@users.noreply.github.com>
* fix(fmt): only indent wrapped trailing cmnts which are line cmnts

* style: flip

---------

Co-authored-by: grandizzy <38490174+grandizzy@users.noreply.github.com>
)

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

* fix: deindent calls (exception)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

3 participants