.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/PerlBackrefs:
55  Enabled: false
56
57Style/SpecialGlobalVars:
58  EnforcedStyle: use_perl_names
59
60Style/RegexpLiteral:
61  EnforcedStyle: slashes
62  AllowInnerSlashes: true
63
64Layout/SpaceAroundEqualsInParameterDefault:
65  EnforcedStyle: no_space
66
67Layout/AccessModifierIndentation:
68  EnforcedStyle: outdent
69
70Layout/FirstParameterIndentation:
71  EnforcedStyle: consistent
72
73Style/BlockDelimiters:
74  EnforcedStyle: braces_for_chaining
75
76Style/MultilineBlockChain:
77  Enabled: false
78
79Layout/IndentArray:
80  EnforcedStyle: consistent
81
82Style/FormatString:
83  EnforcedStyle: percent
84
85Style/FormatStringToken:
86  EnforcedStyle: unannotated
87
88Style/FrozenStringLiteralComment:
89  Exclude:
90    - forms/*
91
92Naming/AccessorMethodName:
93  Enabled: false