-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop_devengo.yml
89 lines (89 loc) · 1.9 KB
/
.rubocop_devengo.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
79
80
81
82
83
84
85
86
87
88
89
---
AllCops:
DisplayCopNames: true
NewCops: enable
SuggestExtensions: true
TargetRubyVersion: 2.7
Gemspec/DependencyVersion:
Enabled: true
Layout/FirstArrayElementIndentation:
EnforcedStyle: consistent
Layout/FirstHashElementIndentation:
EnforcedStyle: consistent
Layout/LineLength:
Max: 120
Lint/DuplicateBranch:
Enabled: true
Lint/DuplicateRegexpCharacterClassElement:
Enabled: true
Lint/EmptyBlock:
Enabled: true
Lint/EmptyClass:
Enabled: true
Lint/NoReturnInBeginEndBlocks:
Enabled: true
Lint/ToEnumArguments:
Enabled: true
Lint/UnexpectedBlockArity:
Enabled: true
Lint/UnmodifiedReduceAccumulator:
Enabled: true
RSpec/AggregateExamples:
AddAggregateFailuresMetadata: true
RSpec/ExampleLength:
Enabled: false
RSpec/MultipleMemoizedHelpers:
Enabled: false
RSpec/BeEq:
Enabled: true
RSpec/BeNil:
Enabled: true
RSpec/ClassCheck:
Enabled: true
RSpec/DuplicatedMetadata:
Enabled: true
RSpec/IdenticalEqualityAssertion:
Enabled: true
RSpec/MultipleExpectations:
Enabled: false
RSpec/NestedGroups:
Max: 4
RSpec/NoExpectationExample:
Enabled: true
RSpec/PendingWithoutReason:
Enabled: true
RSpec/SortMetadata:
Enabled: true
Style/AccessModifierDeclarations:
EnforcedStyle: inline
Style/ArgumentsForwarding:
Enabled: true
Style/ArrayCoercion:
Enabled: true
Style/CollectionCompact:
Enabled: true
Style/DocumentDynamicEvalDefinition:
Enabled: true
Style/Documentation:
Enabled: false
Style/NegatedIfElseCondition:
Enabled: true
Style/NilLambda:
Enabled: true
Style/RedundantArgument:
Enabled: true
Style/RequireOrder:
Enabled: true
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/SwapValues:
Enabled: true
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: consistent_comma
require:
- test_prof/rubocop
- rubocop-rspec
- rubocop-performance
- rubocop-rake