-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
46 lines (35 loc) · 843 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
require: rubocop-rake
AllCops:
NewCops: enable
SuggestExtensions: false
TargetRubyVersion: 3.0
Gemspec/RequireMFA:
Exclude:
- '**/*.gemspec'
Layout/LineLength:
Max: 80
Metrics:
Exclude:
- '**/spec/**/*.rb'
- 'gems/aws-sigv4/lib/aws-sigv4/signer.rb'
- 'gems/aws-sdk-core/lib/aws-sdk-core/sso_bearer_provider.rb'
# For some reason, Metrics disable doesn't cover this
Metrics/BlockLength:
Exclude:
- '**/spec/**/*.rb'
Metrics/ClassLength:
Max: 150
Metrics/MethodLength:
Max: 20
Metrics/ParameterLists:
CountKeywordArgs: false
Naming/FileName:
Exclude:
- 'gems/aws-sdk-core/lib/aws-sdk-core.rb'
- 'gems/aws-sigv4/lib/aws-sigv4.rb'
- 'gems/aws-sdk-core/spec/aws-sdk-core_spec.rb'
Style/ClassAndModuleChildren:
Enabled: false
Style/Documentation:
Exclude:
- '**/spec/**/*.rb'