Skip to content

Commit

Permalink
Merge pull request #21483 from wordpress-mobile/iangmaia/use-rubocop-…
Browse files Browse the repository at this point in the history
…from-bundle

[Tooling] Update `Dangerfile` to run Rubocop with `bundle exec`
  • Loading branch information
iangmaia authored Nov 22, 2024
2 parents 8e2ee0b + 6d8fc34 commit 09d8ee0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dangerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
github.dismiss_out_of_range_messages

# `files: []` forces rubocop to scan all files, not just the ones modified in the PR
# Added a custom `rubocop_cmd` to prevent RuboCop from running using `bundle exec`, which we don't want on the linter agent
rubocop.lint(files: [], force_exclusion: true, inline_comment: true, fail_on_inline_comment: true, include_cop_names: true, rubocop_cmd: ': | rubocop')
rubocop.lint(files: [], force_exclusion: true, inline_comment: true, fail_on_inline_comment: true, include_cop_names: true)

manifest_pr_checker.check_gemfile_lock_updated

Expand Down

0 comments on commit 09d8ee0

Please sign in to comment.