-
-
Notifications
You must be signed in to change notification settings - Fork 137
Closed
Labels
Description
Hi,
I've started to use prettier-php so I've followed the README example. When I run from my ubuntu 16 cli prettier --write ... I get an error Command not found as the library is installed locally.
I've tried with ./node_modules/.bin/prettier --write ... and then it works. Would it be better to use as a global cli tool, so prettier would be available ?
Also, after running the command it was also running over the vendor folder, maybe a ./node_modules/.bin/prettier --write "src/**/*" would be safer
Reactions are currently unavailable