-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.rubocop.yml
More file actions
50 lines (38 loc) · 847 Bytes
/
.rubocop.yml
File metadata and controls
50 lines (38 loc) · 847 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
50
plugins:
- rubocop-sorbet
AllCops:
NewCops: enable
SuggestExtensions: false
Exclude:
- 'bin/**/*'
- 'vendor/**/*'
- 'sorbet/**/*'
Layout/LeadingCommentSpace:
AllowRBSInlineAnnotation: true
# The `@x = @x #: Type` pattern is used for RBS type annotations on instance
# variables. RuboCop sees this as self-assignment but it's required by Sorbet.
Lint/SelfAssignment:
Enabled: false
Sorbet/EnforceSignatures:
Enabled: true
Style: rbs
Sorbet/FalseSigil:
Exclude:
- 'lib/graphwerk/railtie.rb'
Gemspec/DevelopmentDependencies:
Enabled: false
Gemspec/RequiredRubyVersion:
Enabled: false
Style/Documentation:
Enabled: false
Metrics/AbcSize:
Max: 20
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
- '*.gemspec'
Metrics/ClassLength:
Max: 120
Metrics/ModuleLength:
Exclude:
- 'spec/**/*'