-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Run prettier #7172
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
Run prettier #7172
Conversation
Also, there are a couple of files which are changed using |
Codecov Report
@@ Coverage Diff @@
## master #7172 +/- ##
=======================================
Coverage 93.91% 93.91%
=======================================
Files 169 169
Lines 12547 12547
=======================================
Hits 11784 11784
Misses 763 763
Continue to review full report at Codecov.
|
There are things that lint doesn't do, but prettier does and vice versa. Not, because one is better than the other but because each has a slightly different although similar purpose. In short, one is focused on code quality, the other on code style. I think we should decide the order in which they run - which will lead to different results - without expecting both to yield the same output. I suggest the order to be prettier -> lint, because while code style is somewhat idiosyncratic, code quality seems to be less so. |
Okay, cool. Good to know the process for the future. That's what I expected. This PR is still the result of running:
On the master branch |
I think that makes sense. @davimacedo ? |
Yes. That makes sense. I believe it is actually already automated here, right? |
I think it only affects files that are edited though. If you run prettier on the master and then lint-fix, the result is this PR |
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.
LGTM!
🎉 This change has been released in version 5.0.0-beta.1 |
🎉 This change has been released in version 5.0.0 |
New Pull Request Checklist
Issue Description
Runs prettier on Parse Server (there are a few affected files)