-
Notifications
You must be signed in to change notification settings - Fork 14
feat: use Prettier to detect end of line in addition to EditorConfig #803
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
|
I don't see a "re-request review" button, so I'll comment here that I implemented your proposed change now. |
|
I addressed your previous comment in my last two commits, which:
Edit - Let me look into the rest of the CI failures. |
|
It looks like the snapshots are failing now since I moved the file where the tests are located. Do you know how to fix that? Edit - Nevermind, I just blew away the existing snapshot. Now I have 1 test error left to debug on my side. |
|
Awesome. Can you add "Fixes #x" to link any issues fixed by this in the PR description? |
bmish
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
|
@Zamiell do you have any other immediate improvements planned now or should I publish the release? |
|
I do have immediate improvements but wouldn't it be best to release anyway? I think some open source projects (like |
|
Yes that's fine. I'll publish now. |
|
@bmish Sounds good. Also, can you respond to this? #347 (comment) |
This is a follow-up to my previous PR.
Hopefully all changes should be obvious, if not I can elaborate further. The PR looks bigger than it really is because I had to change from sync --> async.
Note that the PR is failing lint because of test coverage, but IMHO adding tests for a Prettier config seems anti-value to the codebase, since there are many different types of Pretter configs (cjs/mjs/json/yaml). The code seems already straightforward enough.