-
Notifications
You must be signed in to change notification settings - Fork 22
/
.rubocop.yml
93 lines (73 loc) · 1.88 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
inherit_from: .rubocop_todo.yml
inherit_gem:
bixby: bixby_default.yml
AllCops:
TargetRubyVersion: 2.6
DisplayCopNames: true
Exclude:
- 'vendor/**/*'
- 'spec/dummy_test_app/**/*'
- 'bin/rails'
Style/GuardClause:
Enabled: false
StyleI/IfUnlessModifier:
Enabled: false
Bundler/DuplicatedGem:
Exclude:
- 'Gemfile'
Layout/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/**/*'
Metrics/ClassLength:
Max: 130
Exclude:
- 'lib/browse_everything/driver/google_drive.rb'
Metrics/MethodLength:
Exclude:
- 'spec/test_app_templates/lib/generators/test_app_generator.rb'
Naming/FileName:
Exclude:
- 'browse-everything.gemspec'
- 'Gemfile'
- 'lib/browse-everything.rb'
Rails:
Enabled: true
Rails/FilePath:
Exclude:
- 'lib/generators/browse_everything/config_generator.rb'
RSpec/DescribeClass:
Exclude:
- 'spec/javascripts/**/*'
RSpec/ExampleLength:
Enabled: false
RSpec/LeadingSubject:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
RSpec/NestedGroups:
Enabled: false
Style/MixinUsage:
Exclude:
- 'spec/helper/browse_everything_controller_helper_spec.rb'
- 'spec/lib/browse_everything/browser_spec.rb'
- 'spec/lib/browse_everything/driver/base_spec.rb'
- 'spec/lib/browse_everything/driver/box_spec.rb'
- 'spec/lib/browse_everything/driver/dropbox_spec.rb'
- 'spec/lib/browse_everything/driver/file_system_spec.rb'
- 'spec/lib/browse_everything/driver/google_drive_spec.rb'
- 'spec/lib/browse_everything/driver/s3_spec.rb'
- 'spec/services/browser_factory_spec.rb'
Style/NumericLiterals:
MinDigits: 7
Style/RedundantBegin:
Exclude:
- 'lib/browse_everything/browser.rb'
Style/IfUnlessModifier:
Exclude:
- 'Gemfile'