-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Frontend] Prettier config to be consistent with existing code style #2409
Conversation
…hould know about it
/assign @jingzhang36 |
|
||
To understand more what prettier is: [What is Prettier](https://prettier.io/docs/en/index.html). | ||
|
||
### IDE Integration |
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.
Not sure whether it has conflict with VSCode setting for Pantheon.
If yes, configure two IDEs may not be good. In such case, we may revisit this part later. Maybe just reuse Pantheon setting?
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 think there are a few problems with pantheon setting (clang-format):
- It is very different from existing code base
- It has no support for tsx (react)
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.
If yes, configure two IDEs may not be good. In such case, we may revisit this part later. Maybe just reuse Pantheon setting?
We can co-maintain a vscode workspace setting just for this repo.
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
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Bobgy The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Config is proposed here: #2406 (comment)
/area front-end
This change is