diff options
Diffstat (limited to 'danger/rubocop/Dangerfile')
-rw-r--r-- | danger/rubocop/Dangerfile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/danger/rubocop/Dangerfile b/danger/rubocop/Dangerfile index 41131241691..b43a1042bd5 100644 --- a/danger/rubocop/Dangerfile +++ b/danger/rubocop/Dangerfile @@ -1,5 +1,9 @@ # frozen_string_literal: true +# This is noisy for draft MRs, so let's ignore this cop in draft mode since we have +# rubocop watching this as well. +return if helper.draft_mr? + # Danger should not comment when inline disables are added in the following files. no_suggestions_for_extensions = %w[.md] |