-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.rubocop.yml
98 lines (72 loc) · 1.55 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
inherit_from: .rubocop_todo.yml
require:
- rubocop-performance
- rubocop-minitest
- rubocop-rake
AllCops:
NewCops: enable
TargetRubyVersion: 2.7
Exclude:
- 'examples/**/*'
- 'vendor/**/*'
- 'spec/fixtures/**/*'
- 'tmp/**/*'
- '.git/**/*'
- 'bin/*'
Lint/RescueException:
Exclude:
- lib/solid/result/event_logs/tracking/enabled.rb
Layout/LineLength:
Max: 120
Layout/ExtraSpacing:
AllowBeforeTrailingComments: true
Layout/MultilineMethodCallIndentation:
Enabled: false
Lint/UnderscorePrefixedVariableName:
Enabled: false
Lint/UnusedMethodArgument:
Exclude:
- lib/solid/result/event_logs/listener.rb
Style/AccessModifierDeclarations:
Enabled: false
Style/CaseEquality:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/Lambda:
EnforcedStyle: literal
Style/ParallelAssignment:
Enabled: false
Style/SingleLineMethods:
Enabled: false
Style/MapToSet:
Enabled: false
Style/MixinGrouping:
Enabled: false
Naming/MethodName:
Enabled: false
Naming/VariableName:
Enabled: false
Metrics/BlockLength:
Exclude:
- solid-result.gemspec
- test/**/*.rb
Metrics/ClassLength:
Exclude:
- lib/solid/result/_self.rb
- test/**/*.rb
Metrics/AbcSize:
Exclude:
- lib/solid/result/event_logs/tracking/enabled.rb
Minitest/MultipleAssertions:
Enabled: false
Minitest/AssertEmptyLiteral:
Enabled: false
Minitest/AssertOperator:
Enabled: false
Minitest/AssertWithExpectedArgument:
Exclude:
- test/test_helper.rb
Naming/FileName:
Exclude:
- lib/solid-result.rb