-
Notifications
You must be signed in to change notification settings - Fork 148
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
[#1778] improvement(dashboard): Dashboard adds the ability to automatically format code. #1779
Conversation
Single quotes may be more suitable for front-end developers? @yl09099 |
done. Format the code using the command "npx prettier . --write". |
Could you add a job for checking style in the workflow? |
Co-authored-by: xianjingfeng <xianjingfeng666@gmail.com>
This format check rule is automatically triggered at compile time. |
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
What changes were proposed in this pull request?
Introducing the front-end eslint code validation tool and formatting the front-end code.
Why are the changes needed?
Fix: #1778
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existential test.