-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.rubocop.yml
More file actions
33 lines (27 loc) · 778 Bytes
/
.rubocop.yml
File metadata and controls
33 lines (27 loc) · 778 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
AllCops:
NewCops: enable
TargetRubyVersion: 3.2
Exclude:
- 'vendor/**/*'
- 'gemfiles/**/*'
# Style - Documentation not required for small gems
Style/Documentation:
Enabled: false
# Style - Optional boolean parameters are acceptable in this API
Style/OptionalBooleanParameter:
Enabled: false
# Metrics - Allow longer blocks in specs
Metrics/BlockLength:
Exclude:
- 'spec/**/*.rb'
- '**/*.gemspec'
# Lint - Allow constant definition in RSpec blocks
Lint/ConstantDefinitionInBlock:
Exclude:
- 'spec/**/*.rb'
# Gemspec - Ruby version is intentionally broad for compatibility
Gemspec/RequiredRubyVersion:
Enabled: false
# Gemspec - Development dependencies in gemspec is acceptable for gems
Gemspec/DevelopmentDependencies:
Enabled: false