nrwl / precise-commits

:sparkles: Painlessly apply Prettier by only formatting lines you have modified anyway!
MIT License
471 stars 20 forks source link

precise-commits format the whole file #34

Open jiushiwoyuze opened 5 years ago

jiushiwoyuze commented 5 years ago

When I run precise-commits,the whole staged files were formated,not the exact lines I modified.

helt commented 5 years ago

same here :( And due to this, precise-commits is not differnet than pretty-quick

ZakharDolozhevskiy commented 5 years ago

the same issue

helt commented 5 years ago

I have asked a few colleagues. Appears to work as intended on macos, but not on windows.

shankarsridhar commented 5 years ago

I am using this on MacOS and I don't seem to be running into this issue.