-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
78 lines (71 loc) · 1.35 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
require:
- rubocop-rspec
AllCops:
NewCops: enable
SuggestExtensions: false
Gemspec/RequireMFA:
Enabled: false
Layout/ExtraSpacing:
AllowForAlignment: true
Layout/LineLength:
Max: 80
Layout/MultilineMethodCallIndentation:
Enabled: false
Lint/AmbiguousBlockAssociation:
AllowedMethods:
- change
Lint/ConstantDefinitionInBlock:
Exclude:
- spec/spec_helper.rb
Lint/MissingSuper:
Enabled: false
Naming/MethodParameterName:
AllowedNames:
- by
- to
- id
Style/ArgumentsForwarding:
Enabled: false
Style/CharacterLiteral:
Enabled: false
Style/Documentation:
Enabled: false
Style/ExplicitBlockArgument:
Enabled: false
Style/FormatStringToken:
EnforcedStyle: template
Style/FrozenStringLiteralComment:
Enabled: false
Style/RescueStandardError:
EnforcedStyle: implicit
Style/StringLiterals:
EnforcedStyle: double_quotes
RSpec/AnyInstance:
Enabled: false
RSpec/ContextWording:
Prefixes:
- when
- with
- without
- if
- unless
- and
- but
RSpec/DescribedClass:
SkipBlocks: true
RSpec/ExpectChange:
EnforcedStyle: block
RSpec/FilePath:
Exclude:
- spec/kangaru/components/**/*.rb
- spec/kangaru/concerns/**/*.rb
RSpec/LetSetup:
Enabled: false
RSpec/MultipleMemoizedHelpers:
Max: 15
RSpec/NestedGroups:
Enabled: false
RSpec/SharedExamples:
Enabled: false
RSpec/ExampleLength:
Max: 7