-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
47 lines (36 loc) · 872 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
46
47
require:
- rubocop-performance
- rubocop-yard
AllCops:
NewCops: enable
SuggestExtensions: false
TargetRubyVersion: 3.0
Exclude:
- 'gemfiles/vendor/**/*'
- 'benchmark/**/*'
# https://github.com/rubocop/rubocop/blob/v1.20.0/config/default.yml
- 'node_modules/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
- '.git/**/*'
Gemspec/DevelopmentDependencies:
EnforcedStyle: gemspec
Layout/DotPosition:
EnforcedStyle: trailing
Layout/LineLength:
Max: 130
Metrics/BlockLength:
Exclude:
- "spec/**/*"
- "*.gemspec"
Naming/FileName:
Exclude:
- lib/rubocop-isucon.rb
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: comma