This is the configuration repo for Peril on the Danger org. There is a settings file and org-wide dangerfiles which are inside the org folder.
Here's some links to the key things
git clone https://github.com/danger/peril-settings
cd peril-settings
yarn install
code .
You will need node and yarn installed beforehand. You can get them both by running brew install yarn
. This will give you auto-completion and types for Danger/Peril mainly.