-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy path.rubocop.yml
44 lines (33 loc) · 822 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
inherit_gem:
onkcop:
- "config/rubocop.yml"
- "config/rspec.yml"
require: rubocop-rspec
AllCops:
NewCops: enable
SuggestExtensions: false
TargetRubyVersion: 2.6
Exclude:
- 'gemfiles/vendor/**/*'
# c.f. https://github.com/rubocop-hq/rubocop/blob/v0.79.0/config/default.yml#L60-L64
- 'node_modules/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
- '.git/**/*'
Layout/HashAlignment:
EnforcedColonStyle: table
Lint/BinaryOperatorWithIdenticalOperands:
Enabled: false
Metrics/ParameterLists:
Max: 6
# module name is `ChatWork`, but I want to use `chatwork` as filename
RSpec/FilePath:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
RSpec/MultipleMemoizedHelpers:
Enabled: false
RSpec/SharedExamples:
Enabled: false
Style/KeywordParametersOrder:
Enabled: false