I have a question. I've got a medium-ish code base (100-150 KLoC) and have been looking for a solution just like this. My goal is to get all our PHP code prettified automatically before it even gets pushed up to our repository. I ended up here because I have a similar need for our Typescript code base, and was very happy to find that prettier can do both.
Do you know if anyone is actively using prettier on production code? Obviously your readme file warns against doing that, but (other than #173 ) my initial tests don't show any stoppers. Obviously I'm not going to just run prettier and throw things up to production. We have good unit test coverage and all commits go through code review, so if prettier breaks something I'm confident that we'll find it long before production breaks. Obviously I would do plenty of testing before actually putting in a pre-commit hook. My question for you is therefore this: do you feel like this is approaching a point where it can be tested on an active code base? If so, I'm happy to be part of the experiment.
I have a question. I've got a medium-ish code base (100-150 KLoC) and have been looking for a solution just like this. My goal is to get all our PHP code prettified automatically before it even gets pushed up to our repository. I ended up here because I have a similar need for our Typescript code base, and was very happy to find that prettier can do both.
Do you know if anyone is actively using prettier on production code? Obviously your readme file warns against doing that, but (other than #173 ) my initial tests don't show any stoppers. Obviously I'm not going to just run prettier and throw things up to production. We have good unit test coverage and all commits go through code review, so if prettier breaks something I'm confident that we'll find it long before production breaks. Obviously I would do plenty of testing before actually putting in a pre-commit hook. My question for you is therefore this: do you feel like this is approaching a point where it can be tested on an active code base? If so, I'm happy to be part of the experiment.