Skip to content

Commit

Permalink
Stricter linting
Browse files Browse the repository at this point in the history
So we don't miss linting issues this change makes some of them fail
CI.
  • Loading branch information
nicolasbock committed Aug 23, 2018
1 parent c036c93 commit 47f0b90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dangerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
# vim: syntax=ruby

# Lint the commit message.
commit_lint.check
commit_lint.check fail: :all

# Ensure a clean commit history.
if git.commits.any? { |c| c.message =~ /^Merge branch/ }
warn('Please rebase to get rid of the merge commits in this PR')
fail('Please rebase to get rid of the merge commits in this PR')
end

# Look for prose issues.
Expand Down

0 comments on commit 47f0b90

Please sign in to comment.