We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73e0a08 commit 276491eCopy full SHA for 276491e
1 file changed
changelog_unreleased/javascript/18482.md
@@ -0,0 +1,36 @@
1
+#### Fix comment placement in empty function params (#18482 by @fs0414)
2
+
3
+<!-- prettier-ignore -->
4
+```jsx
5
+// Input
6
+(
7
+ // foo
8
+) => {}
9
10
+function a(
11
12
+) {
13
+ return;
14
+}
15
16
+// Prettier stable
17
+() =>
18
19
+ {};
20
21
+function a() {
22
+// foo
23
24
25
26
+// Prettier main
27
28
29
+) => {};
30
31
32
33
34
35
36
+```
0 commit comments