forked from carrierwaveuploader/carrierwave-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
47 lines (38 loc) · 775 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
AllCops:
Exclude:
- "bin/*"
- "tmp/**/*"
- "vendor/**/*"
NewCops: disable
TargetRubyVersion: 2.5
Metrics/BlockLength:
Exclude:
- "spec/**/*"
Metrics/ClassLength:
Max: 102
Naming/FileName:
Exclude:
- "gemfiles/*"
- "lib/carrierwave-aws.rb"
- "spec/carrierwave-aws_spec.rb"
Style/FrozenStringLiteralComment:
EnforcedStyle: always
Exclude:
- "Gemfile*"
- "Rakefile"
- "*.gemspec"
- "spec/**/*"
Style/IfUnlessModifier:
Enabled: false
# Documentation is coming
Style/Documentation:
Enabled: false
Style/ExplicitBlockArgument:
Enabled: false
# Extend self preserves private methods
Style/ModuleFunction:
Enabled: false
Style/PercentLiteralDelimiters:
PreferredDelimiters:
'%w': "[]"
'%W': "[]"