Maybe this will turn into a mono-repo with a lot of smaller packages, but for now - this is fine.
Generating a Peril Settings Repo
Which returns a fileMap for an example Peril settings repo. There are a few options.
Mainly one function:
You pass in the dangerfile reference URL for the settings repo, an already set-up OctoKit
api object (so you
handle auth basically) and you can optionally pass in the
currentSettings - if you don't this lib will grab the
version in the
How do I work on this?
git clone https://github.com/orta/peril-settings-linter.gitcd peril-settings-linteryarn install# Open VS Code with `code .`code .# Run testsyarn jestyarn type-check
How do I deploy this?