nrwl / precise-commits

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

Is this project still being actively maintained ? #49

Open shankarsridhar opened 4 years ago

shankarsridhar commented 4 years ago

I see that the last commit was almost 1.5 years ago. Looks pretty dead to me unless I am missing something :( If so, is there an alternative project ?

djcsdy commented 2 years ago

For anyone who is still interested, I am maintaining a fork at @softwareventures/precise-commits.

Compared to this project, it fixes a bunch of bugs, and adds support for Windows and CRLF line breaks.

I've been using it for a couple of months on my projects and it works well. There are still some pathological cases where it does something weird, but I've never seen it break my code. If you use it on a project where the existing indentation is consistently different to the indentation you configure for prettier, then you are going to have a bad time, but otherwise it is suitable for general use.

You can install it from npm @softwareventures/precise-commits.