-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.rubocop.yml
More file actions
62 lines (48 loc) · 1006 Bytes
/
.rubocop.yml
File metadata and controls
62 lines (48 loc) · 1006 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
inherit_from:
- https://relaxed.ruby.style/rubocop.yml
plugins:
- rubocop-rspec
AllCops:
NewCops: enable
Exclude:
- bin/*
- db/schema.rb
- gemfiles/*
- spec/dummy??/**/*
- vendor/**/*
SuggestExtensions: false
TargetRubyVersion: 2.7
Lint/MissingSuper:
Exclude:
- 'lib/active_storage/service/db_service.rb'
Lint/UnusedMethodArgument:
AllowUnusedKeywordArguments: true
Naming/FileName:
Exclude:
- spec/dummy/db/*
RSpec/DescribeClass:
Enabled: false
RSpec/ExampleLength:
# Default is 5
Max: 15
RSpec/MultipleExpectations:
# Default is 1
Max: 5
RSpec/MultipleMemoizedHelpers:
# Default is 5
Max: 12
RSpec/NestedGroups:
# Default is 3
Max: 5
Style/ClassAndModuleChildren:
Exclude:
- 'lib/active_storage/service/db_service.rb'
Style/FrozenStringLiteralComment:
Exclude:
- spec/dummy/db/**/schema*.rb
Style/NegatedIfElseCondition:
Exclude:
- Gemfile
Style/NumericLiterals:
Exclude:
- spec/dummy/db/**/schema*.rb