-
Notifications
You must be signed in to change notification settings - Fork 20
/
.rubocop.yml
79 lines (65 loc) · 2.08 KB
/
.rubocop.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2017-07-26 14:44:14 +0300 using RuboCop version 0.47.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: 1
# Configuration parameters: AllowSafeAssignment.
Lint/AssignmentInCondition:
Exclude:
- 'providers/connect.rb'
# Offense count: 9
Metrics/AbcSize:
Enabled: false
# Offense count: 14
# Configuration parameters: CountComments, ExcludedMethods.
Metrics/BlockLength:
Enabled: false
# Offense count: 3
Metrics/CyclomaticComplexity:
Enabled: false
# Offense count: 219
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Enabled: false
# Offense count: 15
# Configuration parameters: CountComments.
Metrics/MethodLength:
Enabled: false
# Offense count: 3
Metrics/PerceivedComplexity:
Enabled: false
# Offense count: 1
Style/ClassVars:
Exclude:
- 'providers/connect.rb'
# Offense count: 1
Style/Documentation:
Exclude:
- 'spec/**/*'
- 'test/**/*'
- 'resources/action.rb'
# Offense count: 2
Style/IdenticalConditionalBranches:
Exclude:
- 'recipes/web.rb'
# Offense count: 78
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleForMultiline, SupportedStylesForMultiline.
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
Style/TrailingCommaInLiteral:
Enabled: false
# Offense count: 36
# Cop supports --auto-correct.
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
# Whitelist: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym
Style/TrivialAccessors:
Exclude:
- 'resources/action.rb'
- 'resources/application.rb'
- 'resources/screen.rb'
Style/NumericPredicate:
Enabled: false