-
Notifications
You must be signed in to change notification settings - Fork 94
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
Code style #262
Comments
Could you please link to those places with different code styles? Using prettier has been a topic for quite some time. I don't see any reason against, there was just no time yet to do that. How would the Airbnb ruleset change anything? Because it's stricter? |
Setting up Prettier and ESLint is really easy, I've even created an ESLint preset that automatically configures Prettier and the Airbnb preset.
No. It's just my preference. |
I prefer husky + prettier and no eslint. I understand that eslint handles a whole class of things that prettier does not, but I kind of like to talk about those things during code review anyway. |
That is true for code style, but the important "whole class of things that prettier does not handle" is stuff like checking for unused variables, broken references, etc. That's what prettier cannot provide. I say it should not be the reviewer's responsibility either, since it can be reliably checked by software 😉 |
Is this issue still relevant, now that we have prettier in the v2.0 branch? |
We've got both Prettier and ESLint. Now we can add more ESLint rules over time. |
While refactoring code, I noticed that the codebase contains different coding styles because many people contribute to this project. This causes some problems like inconsistent line length.
My suggestions are:
The text was updated successfully, but these errors were encountered: