1AllCops:
2 TargetRubyVersion: 2.3
3
4Metrics/LineLength:
5 Max: 80
6
7Metrics/BlockLength:
8 ExcludedMethods:
9 - route
10 - "on"
11
12Layout/Tab:
13 Enabled: false
14
15Layout/IndentationWidth:
16 Width: 1 # one tab
17
18Lint/EndAlignment:
19 EnforcedStyleAlignWith: variable
20
21Lint/RescueException:
22 Enabled: false
23
24Style/AndOr:
25 Enabled: false
26
27Layout/AlignParameters:
28 Enabled: false
29
30Style/BlockDelimiters:
31 Enabled: false
32
33Layout/CaseIndentation:
34 EnforcedStyle: end
35
36Style/Documentation:
37 Enabled: false
38
39Style/FormatString:
40 EnforcedStyle: percent
41
42Layout/LeadingCommentSpace:
43 Enabled: false
44
45Layout/MultilineMethodCallBraceLayout:
46 Enabled: false
47
48Layout/MultilineOperationIndentation:
49 Enabled: false
50
51Style/MultilineTernaryOperator:
52 Enabled: false
53
54Style/Next:
55 Enabled: false
56
57Style/Not:
58 Enabled: false
59
60Style/NumericLiterals:
61 MinDigits: 20
62 Strict: true
63
64Style/NumericPredicate:
65 Enabled: false
66
67Layout/SpaceAroundOperators:
68 Enabled: false
69
70Layout/SpaceInsideHashLiteralBraces:
71 EnforcedStyle: no_space
72
73Style/StringLiterals:
74 EnforcedStyle: double_quotes
75
76Style/NegatedIf:
77 Enabled: false
78
79Style/RedundantReturn:
80 Enabled: false
81
82Style/MultilineBlockChain:
83 Enabled: false
84
85Layout/SpaceAroundEqualsInParameterDefault:
86 EnforcedStyle: no_space
87
88Layout/IndentArray:
89 EnforcedStyle: consistent
90
91Style/SymbolArray:
92 EnforcedStyle: brackets
93
94Layout/FirstParameterIndentation:
95 EnforcedStyle: consistent
96
97Style/Lambda:
98 EnforcedStyle: lambda
99
100Layout/AccessModifierIndentation:
101 EnforcedStyle: outdent
102
103Style/FormatStringToken:
104 Enabled: false
105
106Style/WordArray:
107 EnforcedStyle: brackets
108
109Lint/UriEscapeUnescape:
110 Enabled: false
111
112Style/RescueModifier:
113 Enabled: false