A danger-js plugin to list all todos/fixmes/etc added/changed/removed in a PR.
Intro to Danger
Danger is a tool to automate common code review practices. It can run as part of your CI pipeline and help maintain standards. Check out their github repo at danger/danger-js. You can configure it using a
dangerfile, which is a javscript or typescript file in the root of your project. It'll post it's results as a comment in the PRs of your project.
To use you must already have
danger-js set up in your repo.
yarn add danger-plugin-todos --dev# ORnpm i --save-dev danger-plugin-todos
At a glance
// dangerfile.js// Using schedule because this is an async task// Optionally provide options// For other git providers (that don't follow github style links for files) provide a custom function to turn filepaths into links for the specific commit
See the GitHub release history.