-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.rubocop.yml
54 lines (44 loc) · 937 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
48
49
50
51
52
53
54
AllCops:
NewCops: enable
TargetRubyVersion: 3.3
SuggestExtensions: false
Exclude:
- 'projections/**/*'
- 'build/**/*'
- 'tasks/release/**/*'
- 'vendor/**/*'
Gemspec/RequireMFA:
Enabled: false
Metrics/AbcSize:
Exclude:
- '**/spec/**/*.rb'
Metrics/BlockLength:
Exclude:
- 'Rakefile'
- 'tasks/**/*.rake'
- '**/spec/**/*.rb'
Metrics/ClassLength:
Max: 200
Metrics/CyclomaticComplexity:
Exclude:
- '**/spec/**/*.rb'
Metrics/MethodLength:
Max: 20
Exclude:
- '**/spec/**/*.rb'
Metrics/ModuleLength:
Exclude:
- '**/spec/**/*.rb'
Naming/FileName:
Exclude:
- 'tasks/**/*.rake'
- '**/spec/**/*.rb'
- 'gems/smithy-client/lib/smithy-client.rb'
- 'gems/smithy-server/lib/smithy-server.rb'
- 'gems/smithy-schema/lib/smithy-schema.rb'
Style/BlockComments:
Exclude:
- '**/spec/spec_helper.rb'
Style/Documentation:
Exclude:
- '**/spec/**/*.rb'