.rubocop.yml

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