-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop.yml
More file actions
48 lines (41 loc) · 1.29 KB
/
.rubocop.yml
File metadata and controls
48 lines (41 loc) · 1.29 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
48
# RuboCop configuration for vagrant-orbstack provider
AllCops:
NewCops: enable
SuggestExtensions: false
TargetRubyVersion: 3.2
Exclude:
- 'vendor/**/*'
- 'tmp/**/*'
- 'pkg/**/*'
- 'bin/**/*'
- 'test-vagrant/**/*'
- 'test-env/**/*'
# Gem entry point files conventionally use hyphenated names
Naming/FileName:
Exclude:
- 'lib/vagrant-orbstack.rb'
# Vagrant provider base class doesn't define initialize
# See: https://developer.hashicorp.com/vagrant/docs/plugins/providers
Lint/MissingSuper:
Exclude:
- 'lib/vagrant-orbstack/provider.rb'
# RSpec describe blocks naturally exceed default length
# Splitting them would reduce test readability
Metrics/BlockLength:
Exclude:
- 'spec/**/*_spec.rb'
# Test helper defines minimal mock classes for Vagrant API
# Empty classes are intentional to satisfy plugin interface
Lint/EmptyClass:
Exclude:
- 'spec/spec_helper.rb'
# MFA requirement is for published gems
# Will be enabled before first RubyGems.org release
Gemspec/RequireMFA:
Enabled: false
# Provider class is acceptable at 104 lines (class-level, not method-level)
# Per code review SPI-1199: All method-level metrics are compliant
# Will be refactored if grows beyond ~150 lines
Metrics/ClassLength:
Exclude:
- 'lib/vagrant-orbstack/provider.rb'