.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/ClassLength:
18  Exclude:
19    - test/*
20
21Metrics/AbcSize:
22  Exclude:
23    - test/*
24
25Style/Tab:
26  Enabled: false
27
28Style/IndentationWidth:
29  Width: 1 # one tab
30
31Style/StringLiterals:
32  EnforcedStyle: double_quotes
33
34Style/NumericLiterals:
35  Enabled: false
36
37Style/SymbolArray:
38  EnforcedStyle: brackets
39
40Style/WordArray:
41  EnforcedStyle: brackets
42
43Style/Documentation:
44  Enabled: false
45
46Style/DoubleNegation:
47  EnforcedStyle: allowed_in_returns
48  Enabled: false
49
50Style/RegexpLiteral:
51  EnforcedStyle: slashes
52  AllowInnerSlashes: true
53
54Layout/SpaceAroundEqualsInParameterDefault:
55  EnforcedStyle: no_space
56
57Layout/AccessModifierIndentation:
58  EnforcedStyle: outdent
59
60Layout/FirstParameterIndentation:
61  EnforcedStyle: consistent
62
63Style/BlockDelimiters:
64  EnforcedStyle: braces_for_chaining
65
66Style/MultilineBlockChain:
67  Enabled: false
68
69Layout/IndentArray:
70  EnforcedStyle: consistent
71
72Style/FormatString:
73  EnforcedStyle: percent
74
75Style/FormatStringToken:
76  EnforcedStyle: unannotated