-
Notifications
You must be signed in to change notification settings - Fork 0
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
Migrate from standard to neostandard + Prettier/dprint #166
Comments
It's easy to discuss these matters for hours, so I'm keeping my answer short:
When it comes to form, I dislike them. When it comes to function, they are keeping git diffs clean, so I'm in favor.
I see no problems with multiple ways of formatting something as long as all are acceptable. I'm not opposed to switching to a tool that allows only one way, if it always works well.
This is possibly the most important point, as JS / TS is still developing frequently.
+1
Neostandard and its differences from standard lgtm! Regarding the formatters, do you see fundamental differences, or shall we create one PR each, to compare the output? We could even base these PRs on top of each other, to see the exact difference between the tools. |
This sparked an inspiration for me: neostandard/neostandard#170 Would that be of interest to you? |
Yes! Let's continue the discussion in that other issue. @voxpelli I appreciate that you took the time to post comments in our repo. I know from my own experience how demanding it is to maintain a popular open-source project. Thank you! 🙏🏻 |
GitHub Actions for running Prettier and dprint: |
Related: filecoin-station/spark-api#385 (comment)
|
I personally dislike empty lines more often than not, especially if they're happening after 2 or 3 lines. It's like putting every sentence of a paragraph in its own paragraph. Let's find rules that make sense and can be applied consistently. |
I used to be a long-time Eslint+Prettier user. I was honestly trying to learn to like Standard that we are using in our repos, but I am frustrated about many papercuts:
.d.ts
filesI propose we make the following changes:
noStyle
option enabledThe text was updated successfully, but these errors were encountered: