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
862adaf94d
prettier
/
tests
/
object_colon_bug
/
jsfmt.spec.js
2 lines
99 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Remove extra group when printing object values (#502) It turns out that in an unlikely turn of event, the inner group can be inline and not print the opening paren but the outer group breaks and outputs the closing paren which generates invalid JavaScript. I tried removing the group altogether and no tests failed, so I'm assuming the group wasn't needed in the first place. If it was, we should add tests to cover this. Fixes #501
2017-01-30 18:03:40 +03:00
run
_spec
(
_
_dirname
,
{
printWidth
:
35
}
)
;
[WIP] TypeScript Parser (#915) * WIP immediate feedback * typescript parser is drop-in replacement for flow parser * Add new TypeScript Parser snapshots where drop-in replacement possible * Snapshot updates after rebasing * Remove unnecessary stripping of properties on TypeScript parser AST * Remove annotated issues * Move TS dependencies to dev for now
2017-03-09 00:18:13 +03:00
run
_spec
(
_
_dirname
,
{
parser
:
'typescript'
,
printWidth
:
35
}
)
;