-
Notifications
You must be signed in to change notification settings - Fork 48
/
.rubocop.yml
60 lines (44 loc) · 848 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
48
49
50
51
52
53
54
55
56
57
58
59
AllCops:
Include:
- '**/*.rb'
- '**/*.gemspec'
- 'Rakefile'
Gemspec/RequiredRubyVersion:
Enabled: false
Lint/UnusedMethodArgument:
AutoCorrect: false
Style/EmptyMethod:
EnforcedStyle: expanded
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
Metrics/ModuleLength:
Exclude:
- 'spec/**/*'
Metrics/AbcSize:
Enabled: false
Metrics/LineLength:
Max: 130
Metrics/ParameterLists:
Max: 6
# Offense count: 19
Style/Documentation:
Enabled: false
Style/SymbolArray:
EnforcedStyle: brackets
Style/PercentLiteralDelimiters:
PreferredDelimiters:
default: ()
'%w': ()
Style/ClassCheck:
EnforcedStyle: kind_of?
Style/RaiseArgs:
EnforcedStyle: exploded
Naming/FileName:
Exclude:
- '**/PBX*.rb'
- '**/Rakefile'
Metrics/MethodLength:
Max: 25
Exclude:
- 'lib/xcake/ui.rb'