-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
rubocop.yml
43 lines (35 loc) · 904 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
---
require:
- rubocop-performance
- rubocop-rake
- rubocop-rspec
- rubocop-minitest
AllCops:
NewCops: enable
DisplayCopNames: true
ExtraDetails: true
DisplayStyleGuide: true
TargetRubyVersion: '2.7'
Exclude:
- vendor/**/*
- .vendor/**/*
- spec/fixtures/**/*
# this currently doesn't work with the way we handle our secrets
Gemspec/RequireMFA:
Enabled: false
# Vox Pupuli default is to use `add_development_dependency` in the gemspec
Gemspec/DevelopmentDependencies:
Enabled: false
Style/TernaryParentheses:
EnforcedStyle: require_parentheses_when_complex
Style/TrailingCommaInHashLiteral:
Enabled: true
EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInArrayLiteral:
Enabled: true
EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInArguments:
Enabled: true
EnforcedStyleForMultiline: comma
Metrics:
Enabled: false