Merge pull request #1560 from Ana06/comment-annotation

Enable Style/CommentAnnotation Rubocop cop
This commit is contained in:
Moisés Déniz Alemán 2017-06-27 10:51:34 +02:00 committed by GitHub
commit 775a93fc26
2 changed files with 1 additions and 9 deletions

View file

@ -288,14 +288,6 @@ Style/ColonMethodCall:
- 'app/models/commercial.rb'
- 'app/models/contact.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: Keywords.
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW
Style/CommentAnnotation:
Exclude:
- 'app/models/event_user.rb'
# Offense count: 14
# Cop supports --auto-correct.
Style/CommentIndentation:

View file

@ -1,5 +1,5 @@
class EventUser < ActiveRecord::Base
# TODO Do we need these roles?
# TODO: Do we need these roles?
ROLES = [%w[Speaker speaker], %w[Submitter submitter], %w[Moderator moderator]]
belongs_to :event