-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
70 lines (57 loc) · 1.48 KB
/
.rubocop.yml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
AllCops:
NewCops: enable
UseCache: true
SuggestExtensions: true
EnabledByDefault: true
TargetRubyVersion: 3.1.3
Exclude:
- 'dummy/**/*'
require:
- rubocop-rspec
- rubocop-performance
- rubocop-thread_safety
- rubocop-require_tools
Style/MissingElse:
Enabled: false
RSpec/AlignLeftLetBrace:
Enabled: false
RSpec/AlignRightLetBrace:
Enabled: false
Style/Copyright:
# Disabled as broken, uncomment to do auto-correction on new files.
Enabled: false
AutocorrectNotice: 'Copyright (c) 2023 by Marcin Nowicki'
Layout/RedundantLineBreak:
Enabled: false
RSpec/DescribeClass:
Enabled: true
Exclude:
- 'spec/rspec/specification_coverage/matchers/be_covered_with_specification_spec.rb'
- 'spec/specification_coverage_spec.rb'
Require/MissingRequireStatement:
Enabled: true
Exclude:
- 'spec/rspec/specification_coverage/ruby_file_details_spec.rb'
- 'spec/rspec/specification_coverage/git_files_changed_spec.rb'
- 'lib/rspec/specification_coverage/matchers/be_covered_with_specification.rb'
Lint/ConstantResolution:
Enabled: true
Exclude:
- 'lib/rspec/specification_coverage/ruby_file_details.rb'
- 'Guardfile'
Style/StringHashKeys:
Enabled: true
Exclude:
- 'rspec-specification-coverage.gemspec'
- 'config/rspec-specification-coverage.gemspec'
Naming/FileName:
Enabled: true
Exclude:
- 'lib/rspec-specification-coverage.rb'
Metrics/BlockLength:
Enabled: true
Max: 66
Layout/LineLength:
Enabled: true
Max: 122