Check that all files match prettier code style.
npm install prettier-check> Check that all files match prettier code style.
```
$ npm install --save-dev prettier prettier-check
> Make sure you have prettier as a dependency (or globally).
Use it in the test script in your package.json:
`json`
"scripts": {
"test": "prettier-check src/*/.js"
},
All args are forwarded to prettier:
`json``
"scripts": {
"test": "prettier-check --single-quote --trailing-comma es5 src/*/.js"
},
MIT © Hexacta