⚠️ Stop saying “you forgot to …” in code review http://danger.systems/js/
What is Danger JS?
Danger runs after your CI, automating your team’s conventions surrounding code review.
This provides another logical step in your process, through which Danger can help lint your rote tasks in daily code review.
You can use Danger to codify your teams norms, leaving humans to think about harder problems.
Danger JS works with GitHub or BitBucket Server for code review, then with: Travis CI, Circle CI, GitHub Actions, Semaphore, Jenkins, Docker Cloud, Bitrise, surf-build, Codeship, Drone, Buildkite, Nevercode, buddybuild, TeamCity, Visual Studio Team Services, Screwdriver, Concourse or Netlify.
- Enforce CHANGELOGs
- Enforce links to Trello/JIRA in PR/MR bodies
- Enforce using descriptive labels
- Look out for common anti-patterns
- Highlight interesting build artifacts
- Give warnings when specific files change
Danger provides the glue to let you build out the rules specific to your team’s culture, offering useful metadata and a comprehensive plugin system to share common issues.
Alright. So, actually, you may be in the wrong place. From here on in, this README is going to be for people who are interested in working on and improving on Danger JS.
We keep all of the end-user documentation at http://danger.systems/js.
Some quick links to get you started:
This thing is broken, I should help improve it!
Awesommmmee. Everything you need is down below. You can also refer to CONTRIBUTING file where you’ll find the same information listed below.
git clone https://github.com/danger/danger-js.git cd danger-js # if you don't have yarn installed npm install -g yarn yarn install
You can then verify your install by running the tests, and the linters:
yarn test yarn lint
The fixers for both tslint and prettier will be applied when you commit, and on a push your code will be verified that it compiles.