-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update configuration + custom logic #10
Comments
Personally I would say yes, and the
However, I think some people prefer longer lines. As a compromise I would suggest 90 characters + increasing the tab width from 2 to 4. |
WordPress recommends https://make.wordpress.org/core/handbook/best-practices/coding-standards/javascript/#spacing
|
When using tabs for indentation, |
Makes sense I guess in a Prettier context 👍 Though if one user uses 2 spaces and another user uses 4 spaces to display tab widths in their IDE/Editor then Prettier may appear to wrap code at column 78 for the 2nd user and column 80 for the first user if |
With the recent updates to Prettier, we can remove some custom hacks from the code:
Also, while we are updating these things, should we change printWidth to 80?
cc @nylen
The text was updated successfully, but these errors were encountered: