-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Add Prettier formatter for JS files #3109
Conversation
Preview is ready Built with commit 8212408 https://deploy-preview-3109--webpackjsorg-netlify.netlify.com |
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.
Have a PR open for this already since days - #3041
lmk if that needs to be closed 😄 |
{ | ||
"singleQuote": true, | ||
"printWidth": 100 | ||
} |
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.
I recommend use this too:
trailingComma: 'es5',
arrowParens: 'always',
- Less changes in review
- Use parens for consistently output
- Also i recommend don't use printWidth:
100
with spaces, it can generate unreadable code
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.
Looks good! Better now than never haha. Also I agree with @evilebottnawi
@evilebottnawi @anshumanv @EugeneHlushko Ping @anshumanv I would like to include all your changes, let's do it after merging this one. |
WIll update 👍 |
What is the blockage here ? |
@montogeek Why prettier is blocked? @chenxsan I think we need focus on this after webpack@5 upgrading |
Sure, I can do it after the webpack v5 upgrade if @montogeek doesn't have time to continue it. |
There is no blocker at this moment, I will restart it instead, can do it soon :) |
@montogeek Hi, do you still have time doing this? Otherwise I can take care of it. |
Closed via #4518 |
Continues #2247