-
Notifications
You must be signed in to change notification settings - Fork 44
/
.rubocop.yml
49 lines (40 loc) · 1.54 KB
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
inherit_from: .rubocop_todo.yml
require:
- rubocop-rake
- rubocop-rspec
- rubocop-performance
- standard
inherit_gem:
standard: config/base.yml
standard-performance: config/base.yml
standard-custom: config/base.yml
AllCops:
TargetRubyVersion: 2.6
NewCops: disable
Style/StringLiterals: { EnforcedStyle: single_quotes }
Style/StringLiteralsInInterpolation: { EnforcedStyle: single_quotes }
Layout/BlockEndNewline: { Enabled: false }
Layout/EmptyLinesAroundBlockBody: { Enabled: false }
Layout/EmptyLinesAroundClassBody: { Enabled: false }
Layout/EmptyLinesAroundModuleBody: { Enabled: false }
Layout/ExtraSpacing: { Enabled: false }
Layout/MultilineBlockLayout: { Enabled: false }
Layout/ParameterAlignment: { Enabled: false }
Layout/SpaceInsideArrayLiteralBrackets: { Enabled: false }
Layout/SpaceInsideBlockBraces: { Enabled: false }
Layout/SpaceInsideHashLiteralBraces: { Enabled: false }
Style/EmptyMethod: { Enabled: false }
Style/SingleLineMethods: { Enabled: false }
# taken from rubocop --generate-todo --auto-gen-enforced-style
Style/SymbolArray:
EnforcedStyle: percent
MinSize: 4
# taken from rubocop --generate-todo --auto-gen-enforced-style
RSpec/ExampleLength:
Max: 22
# taken from rubocop --generate-todo --auto-gen-enforced-style
RSpec/MultipleExpectations:
Max: 2
# taken from rubocop --generate-todo --auto-gen-enforced-style
RSpec/MultipleMemoizedHelpers:
Max: 7