-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
.rubocop_todo.yml
51 lines (46 loc) · 1.58 KB
/
.rubocop_todo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2018-06-16 12:54:50 -0400 using RuboCop version 0.57.2.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 3
# Cop supports --auto-correct.
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/FindBy:
Exclude:
- 'app/models/user.rb'
# Offense count: 8
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/InverseOf:
Exclude:
- 'app/models/conversation.rb'
- 'app/models/follow.rb'
- 'app/models/user.rb'
# Offense count: 12
# Configuration parameters: MinBodyLength.
Style/GuardClause:
Exclude:
- 'app/channels/conversation_channel.rb'
- 'app/channels/group_chats_channel.rb'
- 'app/controllers/dashboard_controller.rb'
- 'app/controllers/groups_controller.rb'
- 'app/controllers/posts_controller.rb'
- 'app/controllers/relationships_controller.rb'
- 'app/helpers/posts_helper.rb'
# Offense count: 4
# Cop supports --auto-correct.
Style/IfUnlessModifier:
Exclude:
- 'app/channels/group_chats_channel.rb'
- 'app/controllers/comments_controller.rb'
- 'app/controllers/groups_controller.rb'
- 'app/controllers/posts_controller.rb'
# Offense count: 105
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 199