Prettier 2.7.0
Playground link
Input:
const typeDefs = gql`
type User {
"""
First line
Second Line
"""
value: String
}
`
Output:
const typeDefs = gql`
type User {
"""
First line
Second Line
"""
value: String
}
`
Expected behavior:
Unless I'm mistaken, the empty comment line should not be removed by prettier.
Prettier 2.7.0
Playground link
Input:
Output:
Expected behavior:
Unless I'm mistaken, the empty comment line should not be removed by prettier.