This PR implements support for glob patterns.
ATM prettier only processes the first file if a list of files is given in arguments.
This will allow running prettier with https://github.com/okonet/lint-staged
chore: Added .js extension to ./bin/prettier
feature: Add support for passing multiple files
style: Run prettier on the source code
build: Add more scripts to test
Why did you rename the binary? That's a breaking API change.
@michaelficarra Binary is the same, but editing .js files are easier.
@michaelficarra I didn't break it. The binary will have the same name when installed with npm.
Oh, I wasn't aware of that npm behaviour.
I was wanting it to work this way, thanks!