Required NodeJS >= 18
- Based on Git hooks
- Lightweight with zero dependencies (6 kB)
- Powered by modern new Git feature (core.hooksPath)
- Follows npm and Yarn best practices regarding autoinstall
- User-friendly messages
- Use with Prettier and ESLint
- Danger File to setup the rules
- Open comment in PR/MR
- Have a token to acess the repo and write the comment
- Rules to open PR/MR, like description message
- On docs doesn`t show how to setup CI with Azure
Example of rules
https://github.com/artsy/emission/blob/master/dangerfile.ts
https://github.com/danger/danger-js/blob/main/dangerfile.ts
https://github.com/bamlab/dev-standards/blob/master/dangerfile.js
https://github.com/facebook/react/blob/main/dangerfile.js
https://github.com/facebook/react-native/blob/main/packages/react-native-bots/dangerfile.js
https://www.youtube.com/watch?v=J2ITov8r0Rs
https://danger.systems/js/guides/getting_started.html#setting-up-danger-to-run-on-your-ci
Print of error on console when try to commit JS file