-
Notifications
You must be signed in to change notification settings - Fork 81
Update prettier to the latest version 🚀 #32
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,7 +37,7 @@ | |
| "eslint-plugin-promise": "^3.5.0", | ||
| "eslint-plugin-standard": "^3.0.1", | ||
| "nyc": "^11.1.0", | ||
| "prettier": "^1.7.2", | ||
| "prettier": "~1.8.0", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. did you change it intentionally to the
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. In order to have this type of issue where a minot release create an issue for a small change in style. |
||
| "rimraf": "^2.6.1", | ||
| "semantic-release": "^9.0.2", | ||
| "sinon": "^4.0.2" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the weirdest update :D I don’t even get the error: https://travis-ci.org/semantic-release/commit-analyzer/builds/298356397#L468 do you know ... why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due to prettier/prettier#3124
It's indeed a bit weird. But it was weird before. The problem with long interpolated strings is that there is rarely a good way to display them. They either overflow or have to be broken somewhere...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It took me a while to read it as well.
The error reported is basically "Replace
currentbyfixed".But the string that has to be formatted contains "is not a valid" and "Valid values are" which make it confusing. it feel like those are part of the error explanation, but they are actually part of the
currentandfixed.