This website requires JavaScript.
Explore
Help
Sign In
vitalif-js
/
prettier
Watch
1
Star
0
Fork
You've already forked prettier
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
c794de0e9f
prettier
/
tests
/
comments
/
assignment-pattern.js
7 lines
98 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Fix missing comments in assignment pattern (#704) * Add handleAssignmentPatternComments helper function. * Add new tests :tada:. * Remove unecessary arg in function. * Reorder it. * Experimental fix for key comments in the printComments function. * Pull master and switch to @vjeux implementation. * Fix bad rebase. * Add additional checking for enclosingNode in handleObjectProperty function.
2017-02-20 18:39:08 +03:00
const
{
a
/* comment */
=
1
}
=
b
;
const
{
c
=
1
/* comment */
}
=
d
;
Fix unprinted comments in destructuring (#898) * Add handlePropertyComments printing function. * Add new test.
2017-03-06 01:40:03 +03:00
let
{
a
//comment
=
b
}
=
c