-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.rubocop.yml
More file actions
47 lines (39 loc) · 1.01 KB
/
Copy path.rubocop.yml
File metadata and controls
47 lines (39 loc) · 1.01 KB
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
inherit_from:
- http://relaxed.ruby.style/rubocop.yml
inherit_gem:
prettier: rubocop.yml
plugins:
- rubocop-faker
- rubocop-performance
- rubocop-sorbet
AllCops:
NewCops: enable
DisplayStyleGuide: true
DisplayCopNames: true
SuggestExtensions: false
TargetRubyVersion: 3.3
Exclude:
- 'bin/*'
- 'vendor/**/*'
- 'node_modules/**/*'
Metrics/BlockLength:
Exclude:
- 'spec/**/*.rb'
- 'Guardfile'
- 'config/environments/*.rb'
- 'lib/tasks/*.rake'
- 'shotgun_api_ruby.gemspec'
### Prettier
Style:
Enabled: false
Gemspec/RequiredRubyVersion:
Enabled: false
# `delete` and `revive` mirror Shotgrid's REST verbs; they are imperative
# actions that happen to return `true` on success, not predicates.
Naming/PredicateMethod:
Exclude:
- 'lib/shotgrid_api_ruby/entities.rb'
# Sorbet `sig` cannot reference an anonymous `&` block parameter, so the
# explicit `&block` form is required wherever a method has a Sorbet signature.
Naming/BlockForwarding:
EnforcedStyle: explicit