-
Notifications
You must be signed in to change notification settings - Fork 78
/
.rubocop.unhound.yml
112 lines (78 loc) · 1.65 KB
/
.rubocop.unhound.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
Style/CollectionMethods:
Enabled: true
PreferredMethods:
reduce:
inject: 'reduce'
find:
detect: 'find'
Lint/AssignmentInCondition:
Enabled: true
Lint/EachWithObjectArgument:
Enabled: true
Lint/LiteralAsCondition:
Description: Checks of literals used in conditions.
Enabled: true
Lint/LiteralInInterpolation:
Description: Checks for literals used in interpolation.
Enabled: true
Lint/SuppressedException:
Enabled: true
Metrics/AbcSize:
Enabled: true
Metrics/ClassLength:
Enabled: true
Metrics/CyclomaticComplexity:
Enabled: true
Metrics/MethodLength:
Enabled: true
Metrics/ModuleLength:
Enabled: true
Metrics/ParameterLists:
Enabled: true
Metrics/PerceivedComplexity:
Enabled: true
Naming/AccessorMethodName:
Enabled: true
Naming/FileName:
Enabled: true
Style/Alias:
Enabled: true
EnforcedStyle: prefer_alias_method
Style/Documentation:
Enabled: true
Style/DoubleNegation:
Enabled: true
Style/EachWithObject:
Enabled: true
Style/EmptyLiteral:
Enabled: true
Style/GuardClause:
Enabled: true
Style/IfUnlessModifier:
Enabled: true
Style/ModuleFunction:
Enabled: true
Style/OneLineConditional:
Enabled: true
Style/PercentLiteralDelimiters:
Enabled: true
Style/PerlBackrefs:
Enabled: true
Style/SignalException:
Enabled: true
Style/SingleLineBlockParams:
Enabled: true
Style/SingleLineMethods:
Enabled: true
Style/SpecialGlobalVars:
Enabled: true
Style/TrailingCommaInArguments:
Enabled: true
Style/TrailingCommaInArrayLiteral:
Enabled: true
Style/TrailingCommaInHashLiteral:
Enabled: true
Style/VariableInterpolation:
Enabled: true
Style/WhenThen:
Enabled: true