✨ Check that all files match prettier-eslint code style.
$ yarn add prettier prettier-eslint-cli prettier-eslint-check --dev
Make sure you have
prettierandprettier-eslint-clias a dependency (or globally).
Use it in the test script in your package.json:
"scripts": {
"test": "prettier-eslint-check src/**/*.js"
},All args are forwarded to prettier:
"scripts": {
"test": "prettier-eslint-check --single-quote --trailing-comma es5 src/**/*.js"
},- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Thanks goes to these wonderful people (emoji key):
さくら 💻 📖 |
Hexacta 💻 📖 |
|---|
This project follows the all-contributors specification. Contributions of any kind are welcome!
prettier-eslint-check © u3u, Released under the MIT License.
Authored and maintained by u3u with help from contributors (list).