Unstable comment of last argument of a method #905
Labels
area:comments
Issues with how Prettier prints comments
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
type:bug
Issues identifying ugly output, or a defect in the program
#856 fixed it for functions and types but not for methods.
outputs
which ouputs
https://prettier.github.io/prettier/#%7B%22content%22%3A%22class%20X%20%7B%5Cn%20%20f(%5Cn%20%20%20%20currentRequest%3A%20%7Ba%3A%20number%7D%2C%5Cn%20%20%20%20%2F%2F%20TODO%20this%20is%20a%20very%20very%20very%20very%20long%20comment%20that%20makes%20it%20go%20%3E%2080%20columns%5Cn%20%20)%20%7B%7D%5Cn%7D%5Cn%5Cnclass%20X%20%7B%5Cn%20%20f(%5Cn%20%20%20%20currentRequest%3A%20%7B%20a%3A%20number%20%7D%5Cn%20%20)%20%2F%2F%20TODO%20this%20is%20a%20very%20very%20very%20very%20long%20comment%20that%20makes%20it%20go%20%3E%2080%20columns%5Cn%20%20%7B%5Cn%20%20%7D%5Cn%7D%5Cn%5Cn%22%2C%22options%22%3A%7B%22printWidth%22%3A80%2C%22tabWidth%22%3A2%2C%22singleQuote%22%3Afalse%2C%22trailingComma%22%3A%22%22%2C%22bracketSpacing%22%3Atrue%2C%22jsxBracketSameLine%22%3Afalse%2C%22parser%22%3A%22%22%2C%22doc%22%3Afalse%7D%7D
The text was updated successfully, but these errors were encountered: