Enable Style/CommentAnnotation Rubocop cop
This cop checks that comment annotation keywords are written according to guidelines. The offense was automatically corrected.
This commit is contained in:
parent
2223523fa0
commit
267f080ac7
2 changed files with 1 additions and 9 deletions
|
|
@ -288,14 +288,6 @@ Style/ColonMethodCall:
|
||||||
- 'app/models/commercial.rb'
|
- 'app/models/commercial.rb'
|
||||||
- 'app/models/contact.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
|
# Offense count: 14
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
Style/CommentIndentation:
|
Style/CommentIndentation:
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
class EventUser < ActiveRecord::Base
|
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]]
|
ROLES = [%w[Speaker speaker], %w[Submitter submitter], %w[Moderator moderator]]
|
||||||
|
|
||||||
belongs_to :event
|
belongs_to :event
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue