-
Notifications
You must be signed in to change notification settings - Fork 70
/
.rubocop.yml
40 lines (33 loc) · 1.01 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
AllCops:
NewCops: enable
TargetRubyVersion: 2.7
Exclude:
- 'spec/tmp/**/*.rb'
- 'vendor/**/*'
Gemspec/RequiredRubyVersion:
Exclude:
- 'uploadcare-rails.gemspec'
Metrics/ClassLength:
Exclude:
- 'lib/uploadcare/rails/transformations/image_transformations.rb'
Metrics/BlockLength:
Exclude:
- 'spec/**/*.rb'
- 'uploadcare-rails.gemspec'
- 'lib/uploadcare/rails/active_record/mount_uploadcare_file.rb'
- 'lib/uploadcare/rails/active_record/mount_uploadcare_file_group.rb'
Naming/FileName:
Exclude:
- 'lib/uploadcare-rails.rb'
Style/HashTransformKeys:
Exclude:
- 'lib/uploadcare/rails/action_view/uploadcare_uploader_tags.rb'
- 'lib/uploadcare/rails/transformations/image_transformations.rb'
Style/OpenStructUse:
Exclude:
- 'spec/uploadcare/rails/active_record/mount_uploadcare_file_spec.rb'
- 'spec/uploadcare/rails/active_record/mount_uploadcare_group_spec.rb'
- 'spec/uploadcare/rails/objects/file_spec.rb'
Metrics/ModuleLength:
Exclude:
- 'spec/**/*'