blob: 79f84fe22f70620d83fb25198da580935a5e5382 (
plain)
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
require:
- rubocop-rspec
AllCops:
Exclude:
- 'pkg/**/*'
- 'spec/fixtures/**/*'
- 'vendor/bundle/**/*'
- 'vendor/ruby/**/*'
TargetRubyVersion: 2.6
Layout/ArgumentAlignment:
EnforcedStyle: with_fixed_indentation
Layout/ParameterAlignment:
Enabled: true
EnforcedStyle: with_fixed_indentation
IndentationWidth: 2
Layout/EndOfLine:
EnforcedStyle: lf
Layout/FirstArrayElementIndentation:
EnforcedStyle: consistent
Layout/FirstHashElementIndentation:
EnforcedStyle: consistent
Layout/MultilineMethodCallIndentation:
Enabled: true
EnforcedStyle: indented
Lint/AmbiguousBlockAssociation:
Exclude:
- 'spec/**/*.rb'
Lint/RaiseException:
Enabled: true
Lint/StructNewOverride:
Enabled: true
Metrics/BlockLength:
Exclude:
- '*.gemspec'
- 'Rakefile'
- 'spec/**/*.rb'
Metrics/ModuleLength:
Exclude:
- 'spec/**/*.rb'
Layout/LineLength:
Exclude:
- 'spec/**/*.rb'
IgnoredPatterns:
- '^#*'
Naming/RescuedExceptionsVariableName:
PreferredName: error
Style/Documentation:
Enabled: false
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true
Style/StringLiterals:
EnforcedStyle: 'single_quotes'
Style/WordArray:
Enabled: false
Style/TrailingCommaInArrayLiteral:
Enabled: false
Style/TrailingCommaInHashLiteral:
Enabled: false
RSpec/ExampleLength:
Max: 80
RSpec/NamedSubject:
Enabled: false
RSpec/FilePath:
Enabled: false
RSpec/DescribeClass:
Exclude:
- 'spec/integration/**/*'
|