-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.rubocop.yml
More file actions
45 lines (36 loc) · 737 Bytes
/
.rubocop.yml
File metadata and controls
45 lines (36 loc) · 737 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
---
inherit_from:
- https://relaxed.ruby.style/rubocop.yml
require:
- rubocop-packaging
- rubocop-performance
- rubocop-rspec
AllCops:
TargetRubyVersion: 2.5
Exclude:
- _misc/*
- bin/*
- vendor/**/*
NewCops: enable
Lint/UnusedMethodArgument:
Exclude:
- lib/prawn_html/utils.rb
Naming/FileName:
Exclude:
- lib/prawn-html.rb
Naming/MethodParameterName:
Exclude:
- lib/prawn_html/pdf_wrapper.rb
RSpec/ExampleLength:
# default: 5
Max: 15
RSpec/MultipleMemoizedHelpers:
# default: 5
Max: 6
RSpec/SubjectStub:
Exclude:
- spec/units/prawn_html/attributes_spec.rb
Style/OpenStructUse:
Exclude:
- lib/prawn_html/attributes.rb
- spec/units/prawn_html/attributes_spec.rb