-
Notifications
You must be signed in to change notification settings - Fork 2
/
.rubocop.yml
47 lines (35 loc) · 859 Bytes
/
.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
inherit_gem:
rubocop_defaults: .rubocop.yml
require:
- rubocop/cop/internal_affairs
- ./lib/rubocop/cop/internal_affairs/incorrect_example_description
AllCops:
NewCops: enable
InternalAffairs/IncorrectExampleDescription:
Include:
- spec/**/*.rb
Strict: false
PositiveDescriptions:
- registers an offense
- registers an offense and corrects
- registers multiple offenses
Layout/ArgumentAlignment:
EnforcedStyle: with_fixed_indentation
Layout/EmptyLineAfterGuardClause:
Enabled: false
Metrics/ClassLength:
Exclude:
- lib/rubocop/cop/sidekiq/active_record_argument.rb
Naming/FileName:
Exclude:
- lib/rubocop-sidekiq.rb
RSpec/ExampleLength:
Max: 10
Style/CaseLikeIf:
Enabled: false
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true