-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
45 lines (42 loc) · 900 Bytes
/
.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
require: rubocop-rspec
AllCops:
RunExtraRailsCops: true
TargetRubyVersion: 2.5.3
Exclude:
- '**/schema.rb'
Lint/UselessAssignment:
Enabled: false
Lint/AssignmentInCondition:
Enabled: false
Metrics/BlockLength:
ExcludedMethods: ['describe', 'context', 'shared_context', 'api_operation']
Exclude:
- 'Rakefile'
- '**/*.rake'
- 'spec/**/*_spec.rb'
- 'spec/**/*_contexts.rb'
Metrics/LineLength:
Max: 100
Performance/TimesMap:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/EmptyLinesAroundBody:
Enabled: false
Style/TrailingBlankLines:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Style/SymbolArray:
Enabled: false
# Single Quotes
StringLiterals:
Enabled: true
RSpec/FilePath:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
Rspec/NamedSubject:
Enabled: false
Rspec/ContextWording:
Enabled: false