Skip to content

Commit

Permalink
Closes #519, #518, #516, #515
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerSchill committed Oct 19, 2019
1 parent 3b14c4b commit cd7e209
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .rubocop.yml

This file was deleted.

8 changes: 8 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
extends: default

rules:
# 80 chars should be enough, but don't fail if a line is longer
line-length:
max: 80
level: warning
4 changes: 2 additions & 2 deletions Dangerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ def test_changes?
false
end

fail 'Please provide a summary of your Pull Request.' if github.pr_body.length < 10
failure 'Please provide a summary of your Pull Request.' if github.pr_body.length < 10

warn 'This is a big Pull Request.' if git.lines_of_code > 400

# Require a CHANGELOG entry for non-test changes.
if !git.modified_files.include?('CHANGELOG.md') && code_changes?
fail 'Please include a CHANGELOG entry.'
failure 'Please include a CHANGELOG entry.'
end

# A sanity check for tests.
Expand Down

0 comments on commit cd7e209

Please sign in to comment.