wordpress-mobile / WordPress-iOS-Shared

Shared components used in building the WordPress iOS apps and other library components
GNU General Public License v2.0
18 stars 22 forks source link

Add Dangermattic configuration #349

Closed iangmaia closed 7 months ago

iangmaia commented 7 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)

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.