forked from stringer-rss/stringer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop_general.yml
97 lines (69 loc) · 1.4 KB
/
.rubocop_general.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
AllCops:
TargetRubyVersion: 2.5
DisplayStyleGuide: true
TargetRailsVersion: 5.1
Layout/EndOfLine:
Enabled: true
EnforcedStyle: lf
# TODO: check this
# Layout/ExtraSpacing
# TODO: later
# Layout/ClassStructure
Layout/SpaceInsideStringInterpolation:
EnforcedStyle: space
Enabled: true
Layout/MultilineAssignmentLayout:
Enabled: true
Metrics/LineLength:
Enabled: false
Rails:
Enabled: true
Rails/SaveBang:
Enabled: true
Rails/TimeZone:
EnforcedStyle: strict
Enabled: true
Style/AutoResourceCleanup:
Enabled: true
Style/BlockComments:
Enabled: false
Style/CollectionMethods:
Enabled: true
Style/ConditionalAssignment:
Enabled: true
EnforcedStyle: assign_to_condition
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: true
EnforcedStyle: always
Style/ImplicitRuntimeError:
Enabled: true
Style/MethodCalledOnDoEndBlock:
Enabled: true
Style/MissingElse:
Enabled: true
EnforcedStyle: case
Style/NegatedIf:
Enabled: false
Style/NumericLiterals:
Enabled: true
Strict: true
Style/PercentLiteralDelimiters:
Enabled: false
Style/ReturnNil:
Enabled: true
Style/SymbolArray:
Enabled: true
EnforcedStyle: brackets
Style/WordArray:
Enabled: true
EnforcedStyle: brackets
Style/GuardClause:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Bundler/OrderedGems:
Enabled: false
Style/RegexpLiteral:
Enabled: false