Tired of setup but you like to roll you project like a booling ball: formatting and linting your code while insuring consistent commit messages. The dude to the rescue!
When your project is up and running and your git is init just install dudejs
and you are ready to bowling.
Cheers,
"His dudeness, duder, or el dudorino"
Just run the setup command in your project folder:
$ npm i dudejs --save-dev
or
$ yarn add dudejs --dev
and... you are done !
DudeJS will add two nice commands to format and lint you code in your package.json
.
$ npm run dude:format
$ npm run dude:lint
or
$ yarn dude:format
$ yarn dude:lint
Indeed, if your git is init by the time you install DudeJS it will setup git hooks for you:
pre-commit
that runs the lint and format commands on your stagged filescommit-msg
that checks your commit message are properlly formatted because "This is a league game"!
Thanks goes to these people :
François Rosato 💻 |
Guillaume AMAT 💻 📖 🤔 |
Julien Viala 🤔 |
François Barrailla 💻 |
---|
This project follows the all-contributors specification. Contributions of any kind are welcome!
Dude.js logo by zedouze