Skip to content

Commit

Permalink
Merge pull request #2 from sequra/ADD-Guard-clauses-cop
Browse files Browse the repository at this point in the history
Added GuardClause Cop
  • Loading branch information
erojasb authored Dec 15, 2020
2 parents cf8e86f + 44e5da7 commit 0c678f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ Style/ColonMethodCall:
Style/TrivialAccessors:
Enabled: true

# Use guard clauses when possible
Style/GuardClause:
Enabled: true

Performance/FlatMap:
Enabled: true

Expand Down

0 comments on commit 0c678f6

Please sign in to comment.