.rubocop.yml

 1AllCops:
 2  TargetRubyVersion: 2.5
 3
 4Metrics/LineLength:
 5  Max: 80
 6  Exclude:
 7    - Gemfile
 8
 9Metrics/ClassLength:
10  Exclude:
11    - test/*
12
13Metrics/MethodLength:
14  Exclude:
15    - test/*
16
17Metrics/BlockLength:
18  Exclude:
19    - test/*
20
21Metrics/ClassLength:
22  Exclude:
23    - test/*
24
25Metrics/AbcSize:
26  Exclude:
27    - test/*
28
29Style/Tab:
30  Enabled: false
31
32Style/IndentationWidth:
33  Width: 1 # one tab
34
35Style/StringLiterals:
36  EnforcedStyle: double_quotes
37
38Style/NumericLiterals:
39  Enabled: false
40
41Style/SymbolArray:
42  EnforcedStyle: brackets
43
44Style/WordArray:
45  EnforcedStyle: brackets
46
47Style/Documentation:
48  Enabled: false
49
50Style/DoubleNegation:
51  EnforcedStyle: allowed_in_returns
52  Enabled: false
53
54Style/RegexpLiteral:
55  EnforcedStyle: slashes
56  AllowInnerSlashes: true
57
58Layout/SpaceAroundEqualsInParameterDefault:
59  EnforcedStyle: no_space
60
61Layout/AccessModifierIndentation:
62  EnforcedStyle: outdent
63
64Layout/FirstParameterIndentation:
65  EnforcedStyle: consistent
66
67Style/BlockDelimiters:
68  EnforcedStyle: braces_for_chaining
69
70Style/MultilineBlockChain:
71  Enabled: false
72
73Layout/IndentArray:
74  EnforcedStyle: consistent
75
76Style/FormatString:
77  EnforcedStyle: percent
78
79Style/FormatStringToken:
80  EnforcedStyle: unannotated