wordpress-mobile / WordPressAuthenticator-iOS

GNU General Public License v2.0
17 stars 11 forks source link

Add Dangermattic configuration #834

Closed iangmaia closed 8 months ago

iangmaia commented 8 months ago

Description

This PR adds Dangermattic to this repo. My main goal was to add RuboCop, but I added some other basic checks as well.

Please let me know if it makes sense to add more checks seen in other repos (reference)

NOTE: I was unable to configure the Danger key as I don't have access to the repo settings; will add it as soon as I get the access.

Testing Details

The main validation is to make sure CI is 🟢.

To run Danger yourself:

  1. Checkout this branch
  2. Run bundle install
  3. Run:
    DANGER_GITHUB_API_TOKEN=<github_token> bundle exec danger pr <PR_URL>

    You should get in the console the same errors / warnings reported in the PR.