-
-
Notifications
You must be signed in to change notification settings - Fork 206
Description
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!