-
Notifications
You must be signed in to change notification settings - Fork 45
/
.rubocop.yml
55 lines (50 loc) · 1.09 KB
/
.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
AllCops:
Exclude:
- vendor/**/*
- pkg/**/*
- spec/fixtures/**/*
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
Max: 360
Metrics/ModuleLength:
Enabled: false
Metrics/BlockLength:
Enabled: false
# dealbreaker:
Style/TrailingCommaInHashLiteral:
Enabled: false
Style/TrailingCommaInArrayLiteral:
Enabled: false
Style/TrailingCommaInArguments:
Enabled: false
Layout/ClosingParenthesisIndentation:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Style/FormatStringToken:
Enabled: false
Style/PercentLiteralDelimiters:
Enabled: false
Style/SymbolArray:
Enabled: false
Style/RescueStandardError:
Enabled: false
Style/MixinUsage:
Enabled: false
Naming/HeredocDelimiterNaming:
Enabled: false
# we still support ruby 1.8
Style/HashSyntax:
Enabled: false
Lint/AmbiguousRegexpLiteral:
Enabled: true
Style/RegexpLiteral:
Enabled: true
Style/WordArray:
Enabled: true
# this catches the cases of using `module` for parser functions, types, or
# providers
Style/ClassAndModuleChildren:
Enabled: false
Style/ConditionalAssignment:
Enabled: false