This website requires JavaScript.
Explore
Help
Sign In
vitalif
/
prettier
Watch
1
Star
0
Fork
You've already forked prettier
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
318568e22a
prettier
/
tests
/
classes
/
empty.js
14 lines
88 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Update `@babel/parser` to v7.6.3 (#6386) * fix flow_function_parentheses * fix directives * fix classes * fix flow_method * fix `do` * fix `decorators` * fix `comments_closure_typecast` * fix `comments` * fix `flow_internal_slot` * fix `flow_comments` * fix `flow_type_declarations` * fix `flow_type_spread` * fix `functional_composition` * fix `multiparser_js_css` * fix `no-semi` * fix `objects` * fix `template` * fix `yield` * update `flow_method` snap * fix `empty_paren_comment` * fix `mdx` * fix `object_property_comment` * Update `@babel/parser` * Update @babel/parser to v7.6.2 * Update yarn.lock * fix `nullish_coalescing` test * fix `flow_class_field` test * fix snapshot * @babel/parser v7.6.3 * fix tests * update snap
2019-10-09 14:52:11 +03:00
class
A1
{
Support dangling comments in ClassBody (#570) Comments were dropped there
2017-02-04 00:16:32 +03:00
// comment
}
Update `@babel/parser` to v7.6.3 (#6386) * fix flow_function_parentheses * fix directives * fix classes * fix flow_method * fix `do` * fix `decorators` * fix `comments_closure_typecast` * fix `comments` * fix `flow_internal_slot` * fix `flow_comments` * fix `flow_type_declarations` * fix `flow_type_spread` * fix `functional_composition` * fix `multiparser_js_css` * fix `no-semi` * fix `objects` * fix `template` * fix `yield` * update `flow_method` snap * fix `empty_paren_comment` * fix `mdx` * fix `object_property_comment` * Update `@babel/parser` * Update @babel/parser to v7.6.2 * Update yarn.lock * fix `nullish_coalescing` test * fix `flow_class_field` test * fix snapshot * @babel/parser v7.6.3 * fix tests * update snap
2019-10-09 14:52:11 +03:00
class
A2
{
// comment
Support dangling comments in ClassBody (#570) Comments were dropped there
2017-02-04 00:16:32 +03:00
}
Update `@babel/parser` to v7.6.3 (#6386) * fix flow_function_parentheses * fix directives * fix classes * fix flow_method * fix `do` * fix `decorators` * fix `comments_closure_typecast` * fix `comments` * fix `flow_internal_slot` * fix `flow_comments` * fix `flow_type_declarations` * fix `flow_type_spread` * fix `functional_composition` * fix `multiparser_js_css` * fix `no-semi` * fix `objects` * fix `template` * fix `yield` * update `flow_method` snap * fix `empty_paren_comment` * fix `mdx` * fix `object_property_comment` * Update `@babel/parser` * Update @babel/parser to v7.6.2 * Update yarn.lock * fix `nullish_coalescing` test * fix `flow_class_field` test * fix snapshot * @babel/parser v7.6.3 * fix tests * update snap
2019-10-09 14:52:11 +03:00
class
A3
{
Support dangling comments in ClassBody (#570) Comments were dropped there
2017-02-04 00:16:32 +03:00
}
Do not put \n inside of empty object method bodies (#706) Fixes #703
2017-02-16 04:52:54 +03:00
Update `@babel/parser` to v7.6.3 (#6386) * fix flow_function_parentheses * fix directives * fix classes * fix flow_method * fix `do` * fix `decorators` * fix `comments_closure_typecast` * fix `comments` * fix `flow_internal_slot` * fix `flow_comments` * fix `flow_type_declarations` * fix `flow_type_spread` * fix `functional_composition` * fix `multiparser_js_css` * fix `no-semi` * fix `objects` * fix `template` * fix `yield` * update `flow_method` snap * fix `empty_paren_comment` * fix `mdx` * fix `object_property_comment` * Update `@babel/parser` * Update @babel/parser to v7.6.2 * Update yarn.lock * fix `nullish_coalescing` test * fix `flow_class_field` test * fix snapshot * @babel/parser v7.6.3 * fix tests * update snap
2019-10-09 14:52:11 +03:00
class
A4
{
Do not put \n inside of empty object method bodies (#706) Fixes #703
2017-02-16 04:52:54 +03:00
m
(
)
{
}
}