-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop_todo.yml
51 lines (43 loc) · 1.47 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 2017-06-19 01:12:28 +0700 using RuboCop version 0.49.1.
# 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: 8
Metrics/AbcSize:
Max: 31
# Offense count: 1
Metrics/CyclomaticComplexity:
Max: 8
# Offense count: 128
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 120
# Offense count: 8
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 16
# Offense count: 1
Metrics/PerceivedComplexity:
Max: 8
# Offense count: 4
# Configuration parameters: Blacklist.
# Blacklist: decrement!, decrement_counter, increment!, increment_counter, toggle!, touch, update_all, update_attribute, update_column, update_columns, update_counters
Rails/SkipsModelValidations:
Exclude:
- 'app/controllers/subscriptions_controller.rb'
# Offense count: 55
Style/Documentation:
Enabled: false
# Offense count: 8
# Configuration parameters: AllowedVariables.
Style/GlobalVars:
Exclude:
- 'app/controllers/session_controller.rb'
- 'app/recurrings/update_feed.rb'
- 'config/initializers/01_redis.rb'
- 'config/initializers/message_bus.rb'
- 'config/initializers/sidekiq.rb'