-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.rubocop.yml
More file actions
49 lines (39 loc) · 801 Bytes
/
.rubocop.yml
File metadata and controls
49 lines (39 loc) · 801 Bytes
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
AllCops:
NewCops: enable
Exclude:
- 'vendor/**/*'
- 'spec/fixtures/**/*'
- 'tmp/**/*'
- '.git/**/*'
- 'bin/*'
- _test*.rb
- local_test/*
- Steepfile
TargetRubyVersion: 3.2
SuggestExtensions: false
Gemspec/DevelopmentDependencies:
EnforcedStyle: gemspec
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/WordArray:
EnforcedStyle: brackets
Metrics/BlockLength:
Exclude:
- 'Rakefile'
- '**/*.rake'
- 'spec/**/*.rb'
- '**/*.gemspec'
Metrics/MethodLength:
Max: 50
Metrics/ClassLength:
Max: 200
Metrics/ModuleLength:
Max: 200
Metrics/ParameterLists:
Max: 8
Metrics/AbcSize:
Max: 60
Style/RegexpLiteral:
EnforcedStyle: percent_r