Skip to content

Commit

Permalink
Fix rubocop errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bhouse committed Mar 8, 2015
1 parent 9be0607 commit 93c96c1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ClassLength:
Max: 120

FileName:
Enabled: false

LineLength:
Max: 120
2 changes: 1 addition & 1 deletion lib/lita/handlers/group_mention.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class GroupMention < Handler
}
)

def group_mention(response)
def group_mention(response) # rubocop:disable AbcSize
return if response.message.body =~ /group\s+mention/
groups = response.matches.flatten

Expand Down

0 comments on commit 93c96c1

Please sign in to comment.