forked from samvera/browse-everything
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
73 lines (60 loc) · 1.58 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
inherit_from: .rubocop_todo.yml
inherit_gem:
bixby: bixby_default.yml
AllCops:
TargetRubyVersion: 2.3
DisplayCopNames: true
Exclude:
- 'vendor/**/*'
Rails:
Enabled: true
Rails/FilePath:
Exclude:
- 'lib/generators/browse_everything/config_generator.rb'
Metrics/ClassLength:
Max: 130
Exclude:
- 'lib/browse_everything/driver/google_drive.rb'
Metrics/LineLength:
Max: 400
Exclude:
- 'spec/lib/browse_everything/driver/box_spec.rb'
- 'spec/lib/browse_everything/driver/dropbox_spec.rb'
Metrics/BlockLength:
Exclude:
- '*.gemspec'
- 'spec/**/*'
RSpec/NestedGroups:
Enabled: false
RSpec/DescribeClass:
Exclude:
- 'spec/javascripts/**/*'
RSpec/LeadingSubject:
Enabled: false
RSpec/ExampleLength:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
Style/NumericLiterals:
MinDigits: 7
Layout/IndentationConsistency:
EnforcedStyle: rails
Naming/FileName:
Exclude:
- 'browse-everything.gemspec'
- 'Gemfile'
- 'lib/browse-everything.rb'
Style/MixinUsage:
Exclude:
- 'spec/lib/browse_everything/driver/s3_spec.rb'
- 'spec/lib/browse_everything/driver/google_drive_spec.rb'
- 'spec/lib/browse_everything/driver/file_system_spec.rb'
- 'spec/lib/browse_everything/driver/dropbox_spec.rb'
- 'spec/lib/browse_everything/driver/box_spec.rb'
- 'spec/lib/browse_everything/driver/base_spec.rb'
- 'spec/lib/browse_everything/browser_spec.rb'
- 'spec/services/browser_factory_spec.rb'
- 'spec/helper/browse_everything_controller_helper_spec.rb'
Bundler/DuplicatedGem:
Exclude:
- 'Gemfile'