2.0.0 • Published 8 years ago
prettier-check v2.0.0
prettier-check

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