-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
line-by-line error reporting #17
Comments
This is a huge ask, but maybe @not-an-aardvark is open to moving |
Hi, thanks for the issue.
Seems useful! This is similar to what I had in mind for #7, but I never ended up implementing it.
Sure, that sounds good to me. I haven't had much time to maintain this recently, so if other people want to make improvements/help maintain the plugin, that would be a win-win situation. |
I just accepted the invitation to the prettier org -- should I go ahead and transfer the repo? |
Yup, should be good to go! |
Done. |
Woot woot! |
@zertosh is splitting the work he has done on his repo into distinct pull requests that he will send here. If you are happy with them, then we can start merge them :) It has a compatible API, so it shouldn't disrupt existing users, they are just going to get a better experience out of the box and will be able to use more options :) |
This code is originally from zertosh/eslint-plugin-prettify@2fb5dfb. It's has been adjusted to conform to the existing ESLint style.
Hey @not-an-aardvark, thanks a ton for working on this plugin, this turned out to be the way most people are integrating prettier inside of their stack :)
We've been working on a different implementation at Facebook. At first we started it to support annotating files with
@format
(like@flow
) and only running the lint rule on them, for a migration path.In the process, we added a super nice feature where instead of reporting a single eslint message at the top of the file, we diff the file and the prettier output and give suggestions for each line that needs to be changed. When you have an editor integration, it shows it inline like any other lint rule, which is really nice.
https://github.com/zertosh/eslint-plugin-prettify
I was wondering if we could figure out a way to get those two projects to converge, so that people using prettier have the best possible integration :)
Thanks!
The text was updated successfully, but these errors were encountered: