-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Proposal: Apply prettier on the whole project files #313
Conversation
f1d86db
to
614905b
Compare
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Thank you @zoontek for your PR Overall I like the idea of auto-formatting and definitely would like to merge this PR. But I have some questions:
|
bacc563
to
aa89486
Compare
ac14580
to
f65be53
Compare
There's already There's currently a lot of issues with the This makes a lot of changes, but rebasing is really easy: never pick the changes from this branch in code, run |
|
@zoontek yes, that's definitely a good point (and I've seen you already did that 🎉 ). The reason why I want to have a prettier as CI job is because So I think having a prettier on CI would be good, do you agree? I'm happy to merge all these changes (though I haven't reviewed latest changes yet), but want to have prettier job in place to assure that all new code will be properly formatted 🙂 |
@kirillzyusko I added a "Check formatting" step, but in the It's a bit of a duplicate with the |
Awesome @zoontek I'll review everything again today evening (and maybe do some other fixes on my own, do not want to disturb you once again) and then I'll merge this PR 😎 Thank you again for the contribution! |
📜 Description
This is a proposal. When I'm working on the repository, I notice that the formatter (prettier) update some part of the files even if I don't changed them. This occurs because some files are not formatted with it, this PR add a new npm command (
format
) and run it.I know that this is a lot of changes (especially in the docs markdown files), feels free to close the PR if you don't want to deal with this.
💡 Motivation and Context
This simplifies collaboration on the project, can even been run on commit using
lint-staged
.