-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop.yml
More file actions
45 lines (33 loc) · 641 Bytes
/
.rubocop.yml
File metadata and controls
45 lines (33 loc) · 641 Bytes
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
plugins:
- rubocop-performance
- rubocop-rspec
- rubocop-rake
AllCops:
TargetRubyVersion: 3.1
NewCops: enable
Exclude:
- "spec/statistical_accuracy_spec.rb"
- "vendor/**/*"
Style/StringLiterals:
EnforcedStyle: double_quotes
Naming/FileName:
Exclude:
- "lib/enumerable-stats.rb"
RSpec/MultipleExpectations:
Enabled: false
RSpec/ExampleLength:
Max: 25
Metrics/ModuleLength:
Max: 250
Metrics/AbcSize:
Max: 100
Metrics/CyclomaticComplexity:
Max: 20
Metrics/MethodLength:
Max: 40
Metrics/PerceivedComplexity:
Max: 20
Naming/MethodParameterName:
Enabled: false
Layout/LineLength:
Max: 125