mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
27 lines
352 B
JavaScript
27 lines
352 B
JavaScript
verylongidentifierthatwillwrap123123123123123(
|
|
a.b
|
|
// prettier-ignore
|
|
// Some other comment here
|
|
.c
|
|
);
|
|
|
|
call(
|
|
// comment
|
|
a.
|
|
// prettier-ignore
|
|
b
|
|
)
|
|
|
|
call(
|
|
a(
|
|
/*
|
|
this won't get formatted too,
|
|
because the prettier-ignore comment is attached as MemberExpression leading comment
|
|
*/
|
|
1,
|
|
2.0000, 3
|
|
)
|
|
// prettier-ignore
|
|
.c
|
|
)
|