29 lines
267 B
Markdown
29 lines
267 B
Markdown
#### Fix docblock parsing (#13054 by @fisker)
|
|
|
|
<!-- prettier-ignore -->
|
|
```jsx
|
|
// With `--insert-pragma` flag
|
|
|
|
// Input
|
|
/* comment */
|
|
foo()
|
|
|
|
// Prettier stable
|
|
/**
|
|
* /* comment
|
|
*
|
|
* @format
|
|
*/
|
|
|
|
foo();
|
|
|
|
// Prettier main
|
|
/**
|
|
* comment
|
|
*
|
|
* @format
|
|
*/
|
|
|
|
foo();
|
|
```
|