-
-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Prettier to introduction folder #2387
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
Conversation
|
This one is good as-is. Thanks! |
|
Hmm. If we adopt Prettier maybe we can also bring semicolons back 😈 ? I only adopted no-semi style because that's what rackt styleguide said two years ago. |
|
In fact it's been a little annoying to defend the use of no-semi in Redux considered I never liked no-semi in the first place. |
|
I'd just say it is what it is at this point. The pain in converting to no-semi was bad enough that I don't really want to live through that again. It basically breaks every open PR. And other than preference, it doesn't really net us any tangible benefits (at least not enough to warrant the effort required). |
|
I'm a four-space/semicolons person myself, but I also hate formatting PRs clogging up file history. So, yes, I'd rather not make changes just for the sake of changes (and once again, considering the relative stability of the lib, don't think it's worth the hassle at this point). |
|
So.. do we have any conclusion on this? It won't be too difficult to bring semis back at this point since I haven't made any changes to the reviews of PRs, just need to re-run Prettier. But after that it may take more works to add them back. |
|
I don't care—let's leave it as is then.
Easy to fix by running |
|
Also, since we're running Prettier anyway, we're already breaking every PR, are we not? |
|
This is only on the code blocks for the docs. |
|
Personally I prefer no-semi. But this is documentation, maybe with semicolons is less confusing for beginners? What we need here is just consistency. Some chapters are already in semi style (mostly the StructuringReducers section) so whatever with or without semis, we need to make a lot of changes anyway. But I truly believe it’s worth it since it improves the quality of docs (and fixes some errors). Hope I can have a confirmation from you guys. 😸 |
|
I'm continuing the work. If we really need to bring semis back I can open another PR for that. For now let's just cleanup the docs. |
#2385