mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Merge pull request #1560 from Ana06/comment-annotation
Enable Style/CommentAnnotation Rubocop cop
This commit is contained in:
commit
775a93fc26
2 changed files with 1 additions and 9 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue