Commit 7ad1354
fix: improve formatting of arrow functions as arguments
This change modifies `allows_inline_multi_line` to restrict arrow functions with expression bodies from being inline multi-line. This ensures that if such an arrow function overflows the line width, it forces the parent call expression to break its arguments onto multiple lines, rather than allowing a partial split that results in inconsistent formatting.
Fixes #753
Fixes #6861 parent a5b7b20 commit 7ad1354
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9793 | 9793 | | |
9794 | 9794 | | |
9795 | 9795 | | |
| 9796 | + | |
9796 | 9797 | | |
9797 | | - | |
9798 | 9798 | | |
9799 | 9799 | | |
9800 | 9800 | | |
| |||
0 commit comments