-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Print Width is not respected #30
Comments
Can you reproduce with What is happening instead? |
This comment has been minimized.
This comment has been minimized.
@AhmedMKamal That's not the same. You're looking for #25. @CyberMew is claiming that neither Prettier's |
Sorry for the late reply. Nothing happens to the file when I run the command, no output either. I wonder whose issue this belongs to.
There are several situations where it will just flatout exceed 80 characters even when I have formatted it manually nicely. You can also reproduce this easily by having a long line like this:
I think by right it should format it to:
|
Prettier leaves that Closing this until you provide a sample repository. |
Prettier in VSCode settings is set to 80. Tslint Integration has been set. tslint.json has
"max-line-length": [true, 80]
I tried creating a
.prettierrc.json
file with"printWidth": 80
but it also doesn't work.Is this a bug or am I missing something?
The text was updated successfully, but these errors were encountered: