forked from tomgi/git_stats
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.rubocop.yml
54 lines (46 loc) · 1 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
inherit_from: .rubocop_todo.yml
require:
- rubocop-factory_bot
- rubocop-performance
- rubocop-rake
- rubocop-rspec
AllCops:
Exclude:
- 'spec/integration/test_repo/**/*'
- 'spec/integration/test_repo_tree/**/*'
- 'vendor/bundle/**/*'
NewCops: enable
TargetRubyVersion: 2.5
FactoryBot/AssociationStyle:
EnforcedStyle: explicit
Layout/LineLength:
Max: 140
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
Lint/AmbiguousOperatorPrecedence:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Exclude:
- 'nova_git_stats.gemspec'
- 'spec/**/*'
Metrics/ClassLength:
Enabled: false
Metrics/MethodLength:
Enabled: false
RSpec/ExampleLength:
Max: 21
RSpec/MessageSpies:
EnforcedStyle: receive
RSpec/MultipleExpectations:
Enabled: false
Style/Documentation:
Enabled: false
Style/NumericPredicate:
EnforcedStyle: comparison
Style/PercentLiteralDelimiters:
PreferredDelimiters:
'%w': '()'
Style/SymbolArray:
EnforcedStyle: brackets